Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That doesn't seem like a good example at all.

Instead of /persons/23/edit, maybe POST /person/23

Instead of /persons/77/delete, maybe DELETE /person/23



/persons/23/edit would become PUT /persons/23, while create would be POST /persons.


It's configurable. For various reasons you might not be able to send DELETE requests.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: