Socket
Book a DemoInstallSign in
Socket

zurl

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zurl

Source
Cargo
Version
0.1.4
Version published
Maintainers
1
Created
Source

Zurl

Zurl is a simple, lightweight, and fast alternative to curl, built in Rust.

Installation

cargo install zurl

Flags

FlagsDescription
-H or --headerTo add custom headers to the request
-j or --jsonTo send JSON data
-q or --queryTo add query parameters
-h or --helpTo list down all commands

Basic Usage

Once installed, you can use zurl from the command line to make HTTP requests.

zurl <METHOD> <URL>

GET Request

zurl GET <URL>

Add json to your request

zurl POST <URL> --json '{"key":"value"}'

Add custom headers to your request

zurl GET <URL> -H "Authorization: Bearer YOUR_TOKEN" -H "Custom-Header: Value"

Add query parameters to your request

zurl GET https://api.example.com/search -q "key1=value1&key2=value2"

Sending request to your localhost

You can either write the complete url http://loclahost:<port>/<path> or can use the below short-hand.

zurl GET :<PORT>/<PATH>

Contributing

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.

FAQs

Package last updated on 29 Apr 2025

Did you know?

Socket

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.

Install

Related posts