go-webservice-gin-sqlx/test.http

39 lines
848 B
Plaintext
Raw Normal View History

2022-10-17 15:51:16 +00:00
GET http://localhost:8080/albums/4
2022-10-14 18:06:53 +00:00
Content-Type: application/json
###
2022-10-17 15:51:16 +00:00
GET http://localhost:8080/albums
2022-10-14 18:06:53 +00:00
Content-Type: application/json
###
2022-10-17 15:51:16 +00:00
POST http://localhost:8080/albums
2022-10-14 18:06:53 +00:00
Content-Type: application/json
{"title": "Mark Tom and Travis Show", "artist": "Blink-182", "price": "18.99"}
###
2022-10-17 15:51:16 +00:00
POST http://localhost:8080/albums
2022-10-14 18:06:53 +00:00
Content-Type: application/json
{"title": "Blue Train", "artist": "John Coltrane", "price": 56.99}
###
2022-10-17 15:51:16 +00:00
POST http://localhost:8080/albums
2022-10-14 18:06:53 +00:00
Content-Type: application/json
{"title": "Jeru", "artist": "Gerry Mulligan", "price": 56.99}
###
2022-10-17 15:51:16 +00:00
POST http://localhost:8080/albums
2022-10-14 18:06:53 +00:00
Content-Type: application/json
{"title": "Sarah Vaughan and Clifford Brown", "artist": "Sarah Vaughan", "price": 39.99}
2022-10-17 16:16:46 +00:00
###
POST http://localhost:8080/albums
Content-Type: application/json
{"title": "2Pacalypse", "artist": "2pac", "price": 75.23}