Difference between http verbs get and post ?

Forums .NETDifference between http verbs get and post ?
Staff asked 4 weeks ago

Answers (1)

Add Answer
monika gabani Marked As Accepted
Staff answered 4 weeks ago

GET and POST is two different types of HTTP request methods. HTTP protocol supports many methods to transfer data from the server or perform any operation on the server. The HTTP protocol supports the methods, e.g. GET, POST, PUT, DELETE, PATCH, COPY, HEAD, OPTIONS, etc.

GET POST
GET retrieves a representation of the specified resource. POST is for writing data, to be processed to the identified resource.
It is the default HTTP method. In this, we need to specify the method as POST to send a request with the POST method.
You can bookmark GET requests. You cannot bookmark POST requests.
It is cacheable. It is not cacheable.
It typically has relevant information in the URL of the request. It typically has relevant information in the body of the request.
It is limited by the maximum length of the URL supported by the browser and web server. It does not have such limits.

Subscribe

Select Categories