Languages
[Edit]
EN

Node.js / Express.js - http methods

0 points
Created by:
Anisha-Kidd
562

In this article, we would like to show you HTTP methods in Express.js.

Basic HTTP methods

MethodDescription
GETThe GET method requests a representation of the specified resource. Requests using GET method should only retrieve the data.
POSTThe POST method requests are most often used to create new resources from the data enclosed in the request.
PUTThe PUT method requests are most often used to modify/update existing resources with the data enclosed in the request. If the resource doesn't exist, the PUT method should create one.
DELETEThe DELETE method requests that the server delete the specified resource.

Other routing methods

  • checkout
  • copy
  • head
  • lock
  • merge
  • mkactivity
  • mkcol
  • move
  • m-search
  • notify
  • options
  • patch
  • purge
  • report
  • search
  • subscribe
  • trace
  • unlock
  • unsubscribe

References

Alternative titles

  1. Node.js / Express.js - route methods
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join