4 ms·
GET, COMMENT, PUT, UPDATE, DELETE. Yeah, makes sense. Now we only need an alternative for PUT to backcronym CRUD. RIPOSTE?
by tgv 3mo ago
GET, COMMENT, PUT, UPDATE, DELETE. Yeah, makes sense. Now we only need an alternative for PUT to backcronym CRUD. RIPOSTE?
- 1718627440 3mo agoI was referring to that the PATH could just be named /api/comment?... , because comment is already a verb.
- danshipt 3mo agoThis is exactly the kind of pointless discussion around rest apis
- 1718627440 2mo agoThe naming of endpoints is not specific to REST actually.
- sh0gg0the 3mo agoURIs/paths are meant to point at resources/documents and therefore ideally should not contain verbs.
- pixelatedindex 3mo agoThe word comment can be both a verb and a noun though. Are we pedantic enough yet? (:
- 1718627440 2mo agoThen naming it 'comment' rather than 'add-a-comment' makes even more sense.