- Home
- API Design
- What is the difference between ...

PUT and POST requests have lots of similarities certainly when making an HTTP request. PUT and POST requests have a strong connection with HTTP. This article includes some major differences between PUT and POST requests.
PUT is a request method supported by HTTP used by the World Wide Web, used to modify and update a resource.
PUT /blogs/{blog-id}Here is an example of a PUT method:
POST method is used to create a resource, or overwrite it. The HTTP standard says that a POST request should be used when attempting to create a new resource representation. The POST request’s body contains the suggested state representation of the new resource to be added to the server.
POST /blogsHere is an example of a POST method:

| PUT | POST |
| This method is idempotent. In this method, if we send retry a request multiple times, that should be equivalent to a single request modification. | This method is not idempotent. In this method, if we retry the request N times, we will end up having N resources with N different URIs created on the server. |
| The PUT method is used to modify a single resource. | The POST method is used to add a child resource. |
| The PUT method is typically used for UPDATE operations. | POST method is generally used for CREATE operations. |
| In the PUT method, the client decides which URI resource should have. | In the POST method, the server decides which URI resource should have. |
| If you send the same request multiple times, the result will remain the same. | If you send the same POST request more than one time, you will receive different results. |
| PUT works as specific. | POST work as abstract. |