/api/v1/allposts
- Lists in array format all tunes stored on the database
- Response 200 (application/json)
/api/v1/allposts
- Lists in array format all tunes stored on the database in descending order
- Highest voted tunes appear at the top
- Response 200 (application/json)
/api/v1/allposts
- An endpoint to upvote the post specified by the ID
Headers
"postId": "{POST ID HERE}"
- Response 200 (application/json)
/api/v1/delete
- An endpoint to delete the post specified by the ID
Headers
"postId": "{POST ID HERE}"
- Response 200 (application/json)