go-webservice-gin-sqlx/test.http

32 lines
718 B
Plaintext
Raw Normal View History

2022-10-14 18:06:53 +00:00
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}