Better HN
topnewbestaskshowjobs
Log inSign up

rbelouin

1 karma · joined Feb 4, 2013 (13y ago) · 1 submissions

Submissions

comment 11y ago · link · parent

"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?