GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ofhttp(1) FreeBSD General Commands Manual ofhttp(1)

ofhttp - perform HTTP and HTTPS requests and download files

ofhttp [options] ri1 [iri2 ...]

ofhttp is a program to perform HTTP and HTTPS requests and download files.

Specify the file to send as body (- for standard input).
Continue download of existing file.
Force / overwrite existing file.
Show the help.
Add a header (e.g. X-Foo:Bar).
Set the method of the HTTP request.
Specify the output file name.
Do a HEAD request to detect the file name.
Sepcify SOCKS5 proxy.
Quiet mode (no output, except errors).
Verbose mode (print headers).
Ignore TLS errors and allow insecure redirects.
Ignore HTTP status code.

Download https://example.com/testfile.bin:

ofhttp https://example.com/testfile.bin

Download https://example.com/testfile.bin via Tor:

ofhttp -P 127.0.0.1:9050 https://example.com/testfile.bin

Send a POST request to an endpoint expecting JSON and only print the response:

echo '{"a":"b"}' | ofhttp -mPOST -b- -qo- https://example.com/json


Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.