Rest API created in order to save and show all playlist`s saved inside the MongoDB database.
GET /playlist
GET /playlist/{id}
Body | Type | Description |
---|---|---|
id |
string |
Mandatory. The ID of the item you want |
POST /playlist
Body | ConcentType | Description |
---|---|---|
{"nome": "item name"} |
ApplicationJason |
Mandatory. The name of the item you want |
Save the new item and list in endpoint /playlist with get method.