Koa.js – HTTP Methods

  • Post author:
  • Post category:Koa.js
  • Post comments:1 Comment
HTTP method

The HTTP method is supplied in the request and specifies the operation that the client has requested. The following table summarizes the commonly used HTTP methods.

Sr.No.Method & Description
1GETThe GET method requests a representation of the specified resource. Requests using GET should only retrieve data and should have no other effect.
2POSTThe POST method requests that the server accept the data enclosed in the request as a new object/entity of the resource identified by the URI.
3PUTThe PUT method requests that the server accept the data enclosed in the request as a modification to the existing object identified by the URI. If it does not exist, then PUT method should create one.
4DELETEThe DELETE method requests that the server delete the specified resource.

Next Topic:-Click Here

This Post Has One Comment

Leave a Reply