go-webservice-gin/test.http

32 lines
718 B
HTTP

GET http://localhost:8123/albums/4
Content-Type: application/json
###
GET http://localhost:8123/albums
Content-Type: application/json
###
POST http://localhost:8123/albums
Content-Type: application/json
{"title": "Mark Tom and Travis Show", "artist": "Blink-182", "price": "18.99"}
###
POST http://localhost:8123/albums
Content-Type: application/json
{"title": "Blue Train", "artist": "John Coltrane", "price": 56.99}
###
POST http://localhost:8123/albums
Content-Type: application/json
{"title": "Jeru", "artist": "Gerry Mulligan", "price": 56.99}
###
POST http://localhost:8123/albums
Content-Type: application/json
{"title": "Sarah Vaughan and Clifford Brown", "artist": "Sarah Vaughan", "price": 39.99}