Skip to content

flightstats/orphaned-proton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An HTTP reflector, used for testing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published