An HTTP reflector, used for testing.
JavaScript Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
.gitignore
Dockerfile
LICENSE
README.md
app.js
deploy.sh
install.sh
package.json

README.md

orphaned-proton

An HTTP reflector, used for testing.

Github repo: flightstats/orphaned-proton

Routes

GET /health

Returns 200 OK

GET /ip

Reflects back just the IP address of the calling host

(GET | POST | PUT) /status/{code}

Returns HTTP {code} and a JSON body containing the request headers and source IP address.

(GET | POST | PUT) /timeout/{timeoutMs}

Delays for the given number of milliseconds before returning HTTP 200/OK and a JSON body containing the request headers and source IP address.