Simple REST Service that echos some requests back, has health
and version
checks. This service runs inside a container so there is almost no overhead in getting started.
- Easy test reverse proxy routes and paths.
- Use this service as a dummy to see if request reach your service correctly.
- Use it to test load balancers by peeking at the out and see the host/ip.
- Use it for Hello World demo projects that require some basic Rest functionality.
/version
/status
/env
/env/:pattern
/echo
/echo/headers
Name | Badges | Version |
---|---|---|
Hello World App |
docker run --rm -it -p 8080:3000 cloudkats/hello-world-rest
curl -i localhost:8080/env
Run compose make run
.
Dashboard http://localhost:8080/dashboard
Example runs
curl -s localhost:8080/api/rawdata | jq .
curl -H 'Host:whoami.docker.localhost' 'http://localhost/'
curl -i localhost:3000/echo/12345
curl -i localhost:3000/version
curl -i localhost:3000/status
curl -i localhost:3000/env
curl -i localhost:3000/env/rvm_