Skip to content

request/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@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