Question d’entretien chez Apple

What's the difference between http put and post?

Réponse à la question d'entretien

Utilisateur anonyme

29 avr. 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`