fetch

command module
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2017 License: MIT Imports: 8 Imported by: 0

README

fetch

fetch url like curl

fetch --help

usage: fetch [options...] <url>
author: qiyi <bphanzhu@gmail.com>
options:
    --data DATA, -d DATA           HTTP POST DATA
    --form DATA, -F DATA           Specify HTTP multipart POST DATA
    --header LINE, -H LINE         Custom header LINE to pass to server
    --head, -I                     Show document info only (default: false)
    --include, -i                  Include protocol headers in the output (default: false)
    --insecure, -k                 Allow connections to SSL sites without certs (default: false)
    --location, -L                 Follow redirects (default: false)
    --request COMMAND, -X COMMAND  Specify request COMMAND to use (default: "GET")
    --url URL                      URL to work with
    --user USER, -u USER           USER[:PASSWORD][;OPTIONS]  Server user, password and login options
    --user-agent value, -A value   User-Agent to send to server (default: "fetch/0.0.3")
    --help, -h                     show help (default: false)
    --version, -v                  print the version (default: false)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL