2 ms·
I think it's just clearer. There's nothing preventing you from just using GET and POST, but the others are already fully supported by everything. Show all comm
by muzani 5y ago
I think it's just clearer. There's nothing preventing you from just using GET and POST, but the others are already fully supported by everything.
Show all comments: GET api/comments
Create a comment: POST api/comment/
Show a comment: GET api/comment/1234
Edit the whole comment: PUT api/comment/1234
Edit part of the comment (like an attachment): PATCH api/comment/1234
Delete: DELETE api/comment/1234