We now have a youtube channel. Subscribe!

Express.js | HTTP Methods

Express.js | HTTP Methods


Hello folks! Welcome back to a new edition of our tutorial on ExpressJS. In this tutorial, we will be studying about ExpressJS HTTP Methods.

HTTP method is provided in the request and it specifies the operation that the client has requested. Following table below is a list of the most used HTTP methods -

S.No.Method & Description
1

GET

The GET method requests a representation of the specified resource. Requests using GET should only retrieve data and should have no other effect.

2

POST

The 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.

3

PUT

The PUT method requests that the server accept the data enclosed in the request as a modification to existing object identified by the URI. If it does not exist then the PUT method should create one.

4

DELETE

The DELETE method requests that the server delete the specified resource.


These are the most used HTTP methods. To learn more about these methods, kindly visit our tutorials on HTTP Methods.


Alright guys! This is where we are going to be rounding up for this tutorial. In our next tutorial, we are going to be studying about Express.js URL Building.

Feel free to ask your questions where necessary and we will attend to them as soon as possible. If this tutorial was helpful to you, you can use the share button to share this tutorial.

Follow us on our various social media platforms to stay updated with our latest tutorials. You can also subscribe to our newsletter in order to get our tutorials delivered directly to your emails.

Thanks for reading and bye for now.

Post a Comment

Hello dear readers! Please kindly try your best to make sure your comments comply with our comment policy guidelines. You can visit our comment policy page to view these guidelines which are clearly stated. Thank you.
© 2022 ‧ WebDesignTutorialz. All rights reserved. Developed by Jago Desain