What is the difference between POST and PUT in HTTP? PUT is used by FB to update the comment because an existing resource is being updated, and that is what PUT does (updates a resource) PUT happens to be idempotent, in contrast to POST
Whats the difference between a POST and a PUT HTTP REQUEST? The difference between POST and PUT is that PUT is idempotent, that means, calling the same PUT request multiple times will always produce the same result (that is no side effect), while on the other hand, calling a POST request repeatedly may have (additional) side effects of creating the same resource multiple times
Use of PUT vs PATCH methods in REST API real life scenarios Since PUT requests include the entire entity, if you issue the same request repeatedly, it should always have the same outcome (the data you sent is now the entire data of the entity) Therefore PUT is idempotent Using PUT wrong What happens if you use the above PATCH data in a PUT request?