Thursday, January 18, 2018

Put vs Post

Put is idempotent whereas post is not idempotent. (idempotent means, you can send n number of put request, but result remains same but in POST result will change based on the initial condition)

Ideally, Put is meant for create and update
Post is for update only.


No comments:

Post a Comment