@request/cli
v0.1.0
Published
HTTP CLI Client
Downloads
3
Readme
@request/cli
See @request/core for more details.
$ npm install -g @request/cli
$ request --help
Ways to pass a querystring
# Object
$ request -u http://site.com -q "{a: 1, b: 'c'}"
# JSON
$ request -u http://site.com -q '{"a": 1, "b": "c"}'
# Querystring
$ request -u http://site.com -q 'a=1&b=c'
Debug Log
$ npm install @request/log
$ DEBUG=req,res,body request -u https://npmjs.com/search -q "{q: 'http'}" -rc