4 ms·
I was referring to that the PATH could just be named /api/comment?... , because comment is already a verb.
by 1718627440 3mo ago
I 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 3mo 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 3mo agoThen naming it 'comment' rather than 'add-a-comment' makes even more sense.