Question

Leaving aside semantics, meanings, proper and common use cases of PUT and POST (which had been already discussed many times (e.g. here)), what are the technical differences (the way what and how is being sent) between PUT and POST?

Was it helpful?

Solution

There is absolutely no difference between POST and PUT except different name used in request:

POST /resource

vs.:

PUT /resource/1

Since PUT is idempotent, some routers/proxies might treat them differently, but I am not aware of any such cases.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top