Sign inSign up

tomkerkhove/bacon-api

By tomkerkhove

•Updated over 7 years ago

A basic REST API giving types of bacon.

Image
0

648

tomkerkhove/bacon-api repository overview

⁠Deploy

❯ docker run -d -p 9999:80 tomkerkhove/bacon-api

⁠Usage

⁠Swagger UI

Swagger UI is located at /swagger and allows you to explore the API

⁠Curl

❯ 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"]

Tag summary

Content type

Image

Digest

Size

101.8 MB

Last updated

over 7 years ago

docker pull tomkerkhove/bacon-api