Hacker News new | ask | show | jobs
by pfraze 5193 days ago
There's actually nothing stopping you from using your own verbs, actually; it's allowed. Lloeki gives a good reason not to, though: I don't know how PAY will be handled without consulting documentation.
2 comments

The HTTP spec is -- it only specifies certain verbs. An implementation need not (and often doesn't) support others.
Isn't how any of the supported HTTP verbs is handled dependant on the API? <consults documentation...>
Yeah, but not totally. For instance, you can always guess what a GET does. There are properties of the established verbs that you can expect.