Skip to content

Latest commit

 

History

History

pass-api

pass-api

Main Autorelease

A simple golang RESTful API that records mountain pass information instrumented with the Datadog tracing library.

Usage

# Create 
curl -X POST http://localhost:8080/passes \
-H "Content-Type: application/json" \
-d '{
    "name": "Gotthard Pass",
    "country": "Switzerland",
    "ascent": 2106
}'

# Read
curl http://localhost:8080/passes/4

# Delete
curl -X DELETE http://localhost:8080/passes/4

TODO - Setup Notes