Minimalistic client to request urls
330
Minimalistic client to request urls
The program can make GET or POST requests to a given url. On http code 200 the program exit code is 0. On any error the exit code is -1.
Usage: mini-curl [--username USERNAME] [--password PASSWORD] [--body BODY] URL
Positional arguments:
URL url to request
Options:
--username USERNAME, -u USERNAME
optional: when set http basic authorization is added to the request header
--password PASSWORD, -p PASSWORD
optional: needed for http basic authorization
--body BODY, -b BODY optional: is send as post body
--help, -h display this help and exit
Simple GET request
mini-curl https://google.com
Simple POST request
mini-curl --body "postbody" https://google.com
Content type
Image
Digest
Size
5.9 MB
Last updated
over 6 years ago
docker pull codefabrik/mini-curl