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.4.tar.gz
(5.9 kB
view hashes)
Built Distribution
Close
Hashes for hyper_inspector-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80b96aa76e2716dc614d7a990426afa536e4ac7bb3d402df5820d9227093f4ee |
|
MD5 | 21637837acc20cd2d9fed4f1c5ac86a4 |
|
BLAKE2b-256 | d1f95cd0a18f572e637b02744e7cba88039428ff8f9b212e0134fab9fb6f69d7 |