A basic REST API giving types of bacon.
648
❯ docker run -d -p 9999:80 tomkerkhove/bacon-api
Swagger UI is located at /swagger and allows you to explore the API
❯ curl -i -X GET "http://localhost:9999/api/v1/bacon"
HTTP/1.1 200 OK
Date: Mon, 08 Apr 2019 14:26:44 GMT
Content-Type: application/json; charset=utf-8
Server: Kestrel
Transfer-Encoding: chunked
["Slab Bacon","Canadian Bacon","Smoked Bacon"]
Content type
Image
Digest
Size
101.8 MB
Last updated
over 7 years ago
docker pull tomkerkhove/bacon-api