Skip to content

kpurdon/echosrv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Pulls

echosrv

A simple HTTP echo server. Mostly useful as a placeholder service.

Requirements

Set the HTTP_PORT environment variable and run the service however you like.

Endpoints

$ http localhost:2222/
HTTP/1.1 200 OK
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Thu, 20 Jun 2019 16:15:12 GMT

Hello from echosrv!

$ http localhost:2222/liveness
HTTP/1.1 200 OK
Content-Length: 0
Date: Thu, 20 Jun 2019 16:15:36 GMT

$ http localhost:2222/readiness
HTTP/1.1 200 OK
Content-Length: 0
Date: Thu, 20 Jun 2019 16:15:39 GMT

About

A simple HTTP Echo Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published