LinuxCommandLibrary

https

TLDR

GET request over HTTPS

$ https [https://api.example.com/users]
copy
POST with JSON
$ https POST [url] name=value
copy
Skip certificate verification
$ https --verify no [url]
copy
Custom headers
$ https [url] Authorization:"Bearer token"
copy
Download file
$ https --download [url]
copy

SYNOPSIS

https [options] [method] url [data]

DESCRIPTION

https is an alias or variant of HTTPie for HTTPS requests. It provides the same user-friendly interface with SSL/TLS by default.
The tool emphasizes secure connections while maintaining HTTPie's intuitive syntax. It's useful for API testing over HTTPS.
https is HTTPie defaulting to HTTPS.

PARAMETERS

METHOD

HTTP method (GET, POST, etc.).
URL
Request URL.
DATA
Request data.
--verify MODE
SSL verification (yes/no).
-d, --download
Download file.
-v, --verbose
Verbose output.
--cert FILE
Client certificate.
--help
Display help information.

CAVEATS

Alias for http with HTTPS. Python package. Same as HTTPie.

HISTORY

https is part of HTTPie, providing explicit HTTPS-first HTTP client functionality.

SEE ALSO

http(1), curl(1), wget(1)

Copied to clipboard