Sollicitatievraag bij Apple

What's the difference between http put and post?

Antwoord op sollicitatievraag

Anoniem

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`