Skip to content

AdrienKuhn/python-requests-logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.