wait, am I reading this right? and the comments agree?
I'm truly confused
so to delete an item you make a POST to /resource/id/delete ?
or do you make a POST to /resource/id with body { action: 'delete' }
what is this?
Unpopular opinion: Don't use http verbs PUT, PATCH, DELETE. Just use POST for everything. Reasons:
- <form> doesn't support the others. Frameworks that allow it do so through hacks.
- URLs are free, you don't gain anything by overloading them.
- Purity < practicality