Listen and print all HTTP requests to the console.
5.7K
Listen and print all HTTP requests to the console. This can be used for testing data coming from a system to verify the payload.
This is a very simple app that just prints what you send it. GET, POST, PUT, DELETE requests with any body, query or path. Headers? Those work here too. It will return a 200 every time.
Let's look at a few examples
GET - http://localhost:5000/data?type=1

POST - http://localhost:5000/data (with xml body)

POST - http://localhost:5000/data (with form data)

dotnet rundocker run -p 5000:80 httplistener -itContent type
Image
Digest
Size
176.6 MB
Last updated
over 7 years ago
docker pull nwestfall/httplistener:20190404.7-windows