August 30, 2012

PUT versus POST in RESTful API

I’m designing an API. And obviously first question I had was: what’s the real difference between PUT and POST? Someone is always wrong in the internet. And there are a lot of opinions out there. But I think the most simple and clear on comes from stackoverflow: PUT implies putting a resource - completely replacing whatever is available at the given URL with a different thing. By definition, a PUT is idempotent. Read more

Powered by Hugo & Kiss.