https://github.com/nwtgck/https
HTTP Stream CLI
https://github.com/nwtgck/https
cli http http-client
Last synced: 3 months ago
JSON representation
HTTP Stream CLI
- Host: GitHub
- URL: https://github.com/nwtgck/https
- Owner: nwtgck
- License: mit
- Created: 2019-01-19T03:22:58.000Z (about 7 years ago)
- Default Branch: develop
- Last Pushed: 2022-12-14T03:06:39.000Z (over 3 years ago)
- Last Synced: 2025-02-06T11:56:01.376Z (about 1 year ago)
- Topics: cli, http, http-client
- Language: Go
- Homepage:
- Size: 104 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# https
[](https://circleci.com/gh/nwtgck/https)
**HTTP** **S**tream 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 **s**tream and HTTP**S** 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](https://github.com/nwtgck/https/releases)
OR
```bash
brew install nwtgck/https/https
```
## Usage
```bash
# GET
https get example.com
```
```bash
# POST
echo hello | https post example.com
```
### Same options as `curl`
Yon can access an HTTPS server disabling certification check like `curl -k`.
```bash
https get -k example.com
```
```bash
https get --insecure example.com
```
### Use HTTP
`https` command uses HTTPS by default. You can specify "http://" as follows to use HTTP.
```bash
# GET
https get http://example.com
```