HTTP stub service for API and AI gateway demos
The web console shows exactly what the gateway sent upstream (live traffic, headers, bodies, side by side compare) and drives the mocks: AI playground, MCP inspector, A2A client, request bins, chaos controls and token lab. Works offline.
No endpoint matches this filter.
rustybin.echo.v1.EchoService/Echo: unary echo with request metadataServerStream, ClientStream, BidiStream: streaming variantsX-Rustybin-Delay: 500 delays the response (ms, capped)X-Rustybin-Fail: 503 or 503:50 injects an error (always, or 50% of the time)X-Request-Id is propagated or generated and echoed backX-Rustybin-Session: my-demo tags requests so you can find them in the inspector (/_rustybin/requests?session=my-demo)Accept: application/xml for XML instead of JSONcurl http://localhost/echo
curl -i http://localhost/status/418
curl -X POST http://localhost/oauth/token -d 'grant_type=client_credentials&client_id=rustybin&client_secret=secret'
curl -X POST http://localhost/ai/v1/chat/completions -H 'Content-Type: application/json' \
-d '{"model":"rustybin","messages":[{"role":"user","content":"hello"}]}'