http-log
v1.0.0
Published
Receive http requests and print request info i.e. a http debug server.
Downloads
5
Maintainers
Readme
http-log
Receive http requests and print request info i.e. a http debug server.
Installing
npm install -g http-log
Start with default parameters
http-log
Starts http server at port 7777 and prints request info and responds with empty response and status code 200.
Start with all configurable parameters
http-log 8888 404 "Not found"
Starts http server at port 8888 and prints request info and responds with "Not found" and status code 404.