Endpoint
POST https://damp-hamlet-68165.herokuapp.com/api/auth/register
Headers
Content-Type application/json
Body
{
"username": "johndoe",
"password": "somepassword"
}
Endpoint
POST https://damp-hamlet-68165.herokuapp.com/api/auth/login
Headers
Content-Type application/json
Body
{
"username": "johndoe",
"password": "somepassword"
}
Endpoint
GET https://damp-hamlet-68165.herokuapp.com/api/songs
Headers
Authorization <token>
Endpoint
DELETE https://damp-hamlet-68165.herokuapp.com/api/songs/:song_id
Headers
Authorization <token>
Endpoint
POST https://damp-hamlet-68165.herokuapp.com/api/songs
Headers
Content-Type application/json
Authorization <token>
Body
{
"spotify_id": "09opLVMX7cfKVKlP3iKZR1"
}