Pergunta de entrevista da empresa Apple

What's the difference between http put and post?

Resposta da entrevista

Sigiloso

29 de abr. de 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`