4 ms·
"Does any language force you to prefix a function with 4 verbs?" Actually, I don't really know. But for sure HTTP isn't forcing you to only use GET/POST/PUT/DE
by rbelouin 12y ago
"Does any language force you to prefix a function with 4 verbs?"
Actually, I don't really know. But for sure HTTP isn't forcing you to only use GET/POST/PUT/DELETE, even if this verbs are usually enough to design your API. It's quite funny to hear some people (I'm not talking about the author) joking about the "418 I'm a teapot" response status, which is defined in a HTTP extension, and then telling you that having only 4 methods to design an API is too restrictive.
HTTP is extensible, so why misusing it?