A Grape API mounted on Rack.
- API v1: demonstrates
rescue_from
that wraps all exceptions in an HTTP error code 500 - API v2: demonstrates vendor-based versioning
- API v3: demonstrates
POST
andPUT
- API v4: demonstrates a middleware that wraps all responses and always returns HTTP code 200
- API v5: demonstrates a
POST
with JSON data