Hire QA – Specialized in QA Recruitment, Technical Interviews and Testing Solutions

What are the most commonly used HTTP methods supported by REST?

Category: API Testing using Postman

GET is only used to request data from a specified resource. Get requests can be cached and bookmarked. It remains in the browser history and haS length restrictions. GET requests should never be used when dealing with sensitive data.
POST is used to send data to a server to create/update a resource. POST requests are never cached and bookmarked and do not remain in the browser history.
PUT replaces all current representations of the target resource with the request payload.
DELETE removes the specified resource.
OPTIONS is used to describe the communication options for the target resource.
HEAD asks for a response identical to that of a GET request, but without the response body.

Leave a Reply

Your email address will not be published. Required fields are marked *