Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 654 Bytes

README.md

File metadata and controls

38 lines (27 loc) · 654 Bytes

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