Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

http-tool

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-tool

A command-line tool for interacting with web sites and APIs

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-61.54%
Maintainers
1
Weekly downloads
 
Created
Source

http-tool

A command-line tool for interacting with web sites and APIs

http-tool is a command-line utility like curl or HTTPie, used for making HTTP requests.

Installation

Make sure you have Node 4 or newer, and run npm install -g http-tool.

Usage

Usage: http-tool [options] <URL>

Options

HTTP method

To specify which HTTP method to use (GET, POST, DELETE, etc.), use the --method or -m option. The default is GET.

Custom request headers

To include custom headers in the HTTP request, use the --header or -H option. The header should be specified as a key: value pair as a string, e.g. -H "Content-Type: application/json. You can use the --header or -H option multiple times for multiple custom headers.

Output options

  • --headers-only, -r: Only include the response headers in the output
  • --body-only, -b: Only include the response body in the output

Keywords

FAQs

Package last updated on 24 Oct 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc