nwestfall/httplistener

By nwestfall

Updated over 7 years ago

Listen and print all HTTP requests to the console.

Image
2

5.7K

nwestfall/httplistener repository overview

HTTPListener

Listen and print all HTTP requests to the console. This can be used for testing data coming from a system to verify the payload.

Build Status

What does it do

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)

How to run without Docker

  1. Install dotnet SDK 2.2
  2. Clone repo
  3. Run dotnet run
  4. Start sending data

How to run with Docker

  1. docker run -p 5000:80 httplistener -it
  2. Start sending data

Tag summary

Content type

Image

Digest

Size

176.6 MB

Last updated

over 7 years ago

docker pull nwestfall/httplistener:20190404.7-windows