Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 691 Bytes

File metadata and controls

37 lines (21 loc) · 691 Bytes

echo-server

An HTTP echo server designed for testing applications and proxies.

workflow dockerhub

Running

Docker

run the command:

docker run -p 8000:8000 erikcc02/echo-server

and call API via curl or web:

curl -X POST http://localhost:8000/api/foo --data {'body':'any message'}

echo-server-demo

Configure echo server

to set the port that the application will run, set the value of the variable ECHOSERVER_PORT

docker run -it -p 8555:5000 -e ECHOSERVER_PORT=5000 echo-server

License

Read More