2

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?

Community
  • 1
  • 1
Ivan
  • 63,011
  • 101
  • 250
  • 382

1 Answers1

2

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.

Tomasz Nurkiewicz
  • 334,321
  • 69
  • 703
  • 674