| Crates.io | glaive |
| lib.rs | glaive |
| version | 0.1.1 |
| created_at | 2024-12-26 09:06:09.388089+00 |
| updated_at | 2024-12-30 07:23:07.402366+00 |
| description | Cut your http requests to pieces |
| homepage | |
| repository | https://github.com/kylestang/glaive |
| max_upload_size | |
| id | 1495516 |
| size | 60,395 |
Cut your http requests to pieces
Glaive is an API reverse engineering tool. It makes an initial http request and then removes properties one by one to determine the smallest set of properties needed to return the same response.
The properties Glaive currently tests are:
Requests are defined using a subset of the cURL CLI flags. Most of the time you should be able to take a curl ... command, replace it with glaive ..., and it will just work. Many apps also export requests as curl such as web browsers, postman, mitmproxy, etc.
cargo install glaive
Usage: glaive [OPTIONS] <URL>
Arguments:
<URL>
Options:
-X, --request <REQUEST> [default: GET] [possible values: GET, POST, PUT, DELETE, HEAD, OPTIONS, CONNECT, PATCH, TRACE]
-H, --header <HEADER> key-value pair separated by a colon (:)
--data-raw <RAW_DATA> raw request body
--compressed this doesn't do anything, but is added for compatibility
-h, --help Print help
Glaive does briefly spam the server with requests, please use responsibly.