Skip to content

qiyi/fetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

fetch url like curl

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages