Apple interview question

What's the difference between http put and post?

Interview Answer

Anonymous

29 Apr 2016

They both can be used to create a resource, but PUT is idempotent and POST is not, i.e. making the same PUT request multiple times will always produce the same result. Also, with PUT you update the resource located at the URI you post toPOST is generally used without a specific URI `POST /todo/items`