Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 971 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 971 Bytes

python-requests-logging

CircleCI

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 images

Multi-arch docker images are available on Docker Hub:

  • The latest tag is built from the main branch.
  • The latest tag and the last release tag are refreshed nightly to get the latest security updates.
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.