Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 536 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 536 Bytes

@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