List Comments: GET /comments/
Create Comment: POST /comments/
Retrieve Comment: GET /comments/<id>/
Update Comment: PUT /comments/<id>/
Delete Comment: DELETE /comments/<id>/
- creation:
- send a post request to
comments/
url. - write the json object in the request body.
- send a post request to
- list:
- send a get request to
/comments/?content_type=<model_name>&object_pk=<pk>
- send a get request to