Hypertext transfer protocol


Which Http method is not idempotent?


A HTTP method is said to be idempotent if it returns the same result every time. HTTP methods GET, PUT, DELETE, HEAD, and OPTIONS are idempotent method and we should implement our application to make sure these methods always return same result. HTTP method POST is non-idempotent method and we should use post method when implementing something that changes with every request.


Idempotency is an important concept in the http specification that states idempotent http requests will result in the same state on the server no matter how many times that same request is executed.GET,HEAD,PUT and DELETE all have this attribute,but POST is doesnt have this attribute and is said to be non idempotent.