Re:How to Design Better APIs
by FearlessNebula on Saturday March 12, 2022 @09:25AM
(#30651578)
I’m not sure what issue the verbs are creating, can someone help me get through my thick skull what this persons issue with them is? I don’t see how they add much complexity, just check the API docs and see what verb you need to use to perform a certain action.
[ Parent
| on HN ]
They are the wrong layer of abstraction outside of simple CRUD apps.
If you have to check the API docs anyways, I rather define custom domain specific verbs than debate whether something should be a PUT or a PATCH.