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)
Built Distribution
Close
Hashes for hyper_inspector-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41b8fd8ac223ae15553855c4336423a70179b728dfc7c63631cb096ecb96bd8f |
|
MD5 | 45b252e128fc738dee167e3c841eeeb9 |
|
BLAKE2b-256 | 68815b1db77cb66634ec96af4b54682a6f81403dfc69f94f93f60d1a8aeb50df |