Categorygithub.com/qiyi/fetch
repositorypackage
0.0.3
Repository: https://github.com/qiyi/fetch.git
Documentation: pkg.go.dev

# README

fetch

fetch url like curl

fetch --help

usage: fetch [options...] <url>
author: qiyi <[email protected]>
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)