API Endpoints
<column-name> mentioned in the endpoints below is refereed to the comments table's column name in the database.

Demo

Test the endpoints below online by replacing http://127.0.0.1:8000/api with the following URL:
https://over-demo.herokuapp.com/api
get
http://127.0.0.1:8000/api
/comments/get
Get Comments
post
http://127.0.0.1:8000/api
/comments/create
Create a comment
put
http://127.0.0.1:8000/api
/comments/update
Update a comment
delete
http://127.0.0.1:8000/api
/comments/delete
Delete a comment