There are 9 HTTP request methods:
๐น GET
๐น PUT
๐น POST
๐น HEAD
๐น TRACE
๐น PATCH
๐น DELETE
๐น OPTIONS
๐น CONNECT
Let's talk about them in a bit more detail ๐งต๐๐ป
๐น GET
๐น PUT
๐น POST
๐น HEAD
๐น TRACE
๐น PATCH
๐น DELETE
๐น OPTIONS
๐น CONNECT
Let's talk about them in a bit more detail ๐งต๐๐ป
HTTP request methods are the actions initiated from the client-side to perform certain actions.
These HTTP request methods are sometimes called nouns or referred to as HTTP verbs.
These HTTP request methods are sometimes called nouns or referred to as HTTP verbs.
๐ GET
The GET method is the most common of all these request methods. It is used to get the desired resources from the server.
The GET methods don't affect the state of the server.
The GET method is the most common of all these request methods. It is used to get the desired resources from the server.
The GET methods don't affect the state of the server.
๐ POST
The POST method is used to submit the information to the server. As we're submitting data, the POST method often changes the state of the server.
The POST method is used to submit the information to the server. As we're submitting data, the POST method often changes the state of the server.
๐ PUT
The PUT method is used whenever you need to change the resource. The resource, which is already a part of resource collection.
The PUT method is used whenever you need to change the resource. The resource, which is already a part of resource collection.
๐ PATCH
The PATCH request method is used to modify only the necessary part of the data or response. The PATCH method doesn't modify the entire response.
The PATCH request method is used to modify only the necessary part of the data or response. The PATCH method doesn't modify the entire response.
๐ HEAD
The server sends the response without the body. The HEAD method asks for a response identical to that of a GET request, but it is faster as small data is transferred.
The server sends the response without the body. The HEAD method asks for a response identical to that of a GET request, but it is faster as small data is transferred.
๐ DELETE
As the name says, the DELETE request method is used to delete the specified resource. It requests that the origin server delete the resource identified by the Request-URL.
As the name says, the DELETE request method is used to delete the specified resource. It requests that the origin server delete the resource identified by the Request-URL.
๐ CONNECT
The CONNECT method establishes two-way communication between the client and the requested resource.
CONNECT request method is used to push your proxy to start an HTTP tunnel.
The CONNECT method establishes two-way communication between the client and the requested resource.
CONNECT request method is used to push your proxy to start an HTTP tunnel.
๐ OPTIONS
The OPTIONS method is used to describe the communication options available for the target resource. The client can either specify a URL for describing the communication options available for a specific resource or an asterisk (*) if they want to target the server.
The OPTIONS method is used to describe the communication options available for the target resource. The client can either specify a URL for describing the communication options available for a specific resource or an asterisk (*) if they want to target the server.
๐ TRACE
The TRACE method is generally used for debugging. It performs a message loop-back test along the path to the desired data.
The TRACE method is generally used for debugging. It performs a message loop-back test along the path to the desired data.
We will post a sequel thread covering the three main characteristics of an HTTP request method.
1. Safe
2. Idempotent
3. Cacheable
Sounds good? Stay in touch with @Rapid_API ๐๐
1. Safe
2. Idempotent
3. Cacheable
Sounds good? Stay in touch with @Rapid_API ๐๐
Loading suggestions...