
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
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"
localhost
You 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:
FAQs
Unknown package
We found that zurl demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.