| Crates.io | zurl |
| lib.rs | zurl |
| version | 0.1.4 |
| created_at | 2025-04-27 11:40:33.225034+00 |
| updated_at | 2025-04-29 19:23:33.397209+00 |
| description | Because simplicity matters, even in APIs |
| homepage | |
| repository | https://github.com/Muhammad-Owais-Warsi/zurl |
| max_upload_size | |
| id | 1651033 |
| size | 54,275 |
Zurl is a simple, lightweight, and fast alternative to curl, built in Rust.
cargo install zurl
| Flags | Description |
|---|---|
-H or --header |
To add custom headers to the request |
-j or --json |
To send JSON data |
-q or --query |
To add query parameters |
-h or --help |
To list down all commands |
Once installed, you can use zurl from the command line to make HTTP requests.
zurl <METHOD> <URL>
GET Requestzurl GET <URL>
json to your requestzurl POST <URL> --json '{"key":"value"}'
headers to your requestzurl GET <URL> -H "Authorization: Bearer YOUR_TOKEN" -H "Custom-Header: Value"
query parameters to your requestzurl GET https://api.example.com/search -q "key1=value1&key2=value2"
localhostYou can either write the complete url http://loclahost:<port>/<path> or can use the below short-hand.
zurl GET :<PORT>/<PATH>
We welcome contributions to Zurl! If you'd like to improve the tool, please feel free to fork the project, submit an issue, or create a pull request.
Steps to Contribute:
Fork the repository.
Clone your fork.
Make your changes and commit them.
Push your changes.
Create a pull request.