Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 458 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 458 Bytes

python-requests-logging

Very simple HTTP server in python for logging requests.
Inspired from Simple Python 3 HTTP server for logging all GET and POST requests.

Usage

docker run --rm -it \
  -p 127.0.0.1:8080:8080 \
  -e RESPONSE_CODE=200 \
  krewh/python-requests-logging


curl http://localhost:8080

# You can also expose the container using something like ngrok.