request-by-proxy
this is request by proxy in node.
install
npm install --save request-by-proxy
use
const rp = ; // rp(target, proxy, options); ;
options
- method : 'POST' | 'GET' , default 'GET'
- writePath: save response in disk path, default null
- postData: post data (JSON) , default null
- contentType: content-type: 'json' | 'formData', default 'formData'