Sample API Enpoint Server
- Provides a simple API server (no database required)
- Returns HTML or JSON based on headers or path
bundle install
shotgun config.ru
Hit any of these paths:
GET '/contacts'
GET '/contacts/json'
GET '/contacts/1'
GET '/contacts/1/json'