Skip to main content

A simple HTTP inspector to debug webhooks and other incoming requests

Project description

A dummy/mocking server to inspect incoming HTTP connections. Use it to test/debug Webhooks.

Installation

Using pip:

$ pip install hyper-inspector

Using pipx:

$ pipx install hyper-inspector

Usage

$ hyper --help
usage: http_inspector [-h] [-r RESPONSE] [-f [ENABLE_FILE_LOGGING]] [-d LOGGING_DIRECTORY] [--log-body [LOG_BODY]] [--ip IP] [--port PORT]

Inspect and debug HTTP requests

optional arguments:
  -h, --help
            Show this help message and exit
  -r, --response [default 200]
            Default response for every incoming request
  -f, --enable-file-logging [default True]
            Enable file logging
  -d, --logging-directory [default .]
            Directory path to store logs
  --log-body [default True]
            Should it log the whole body to the console.
  --ip [default '']
            IP Addr to serve
  --port [default 555]
            Server Port to listen to

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hyper-inspector-0.0.3.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

hyper_inspector-0.0.3-py3-none-any.whl (7.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page