Hypertext transfer protocol


#1

Which Http method is not idempotent?


#2

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.


#3

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.