Skip to content

nwtgck/https

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https

CircleCI

HTTP Stream CLI

Purpose

The purpose of https command is to

  • Use HTTP/HTTPS streamingly
  • Use HTTPS by default unlike curl

The last s of https has both meanings of stream and HTTPS for usability of the flow and higher security.

The design policy is using the same option names as curl's to relieve users' burden not to remember new things and not have confusion as much as possible.

Installation

Get executable binaries from GitHub Releases

OR

brew install nwtgck/https/https

Usage

# GET
https get example.com
# POST
echo hello | https post example.com

Same options as curl

Yon can access an HTTPS server disabling certification check like curl -k.

https get -k example.com
https get --insecure example.com

Use HTTP

https command uses HTTPS by default. You can specify "http://" as follows to use HTTP.

# GET
https get http://example.com