Open heavenlian opened 5 years ago
When I'm using this library to post HTTPS requests I get this error Error: getaddrinfo ENOTFOUND https://oauth2.googleapis.com/token https://oauth2.googleapis.com/token:443
. It looks like somewhere wrong method is used.
@amitguptagwl , Get is OK, but Post .
@heavenlian
app.use(bodyParser.json()); comment this !
@heavenlian You should see this example when you have bodyParser....https://github.com/nodejitsu/node-http-proxy/blob/master/examples/middleware/bodyDecoder-middleware.js
axios post : borwer: requerset header show this info: Provisional headers are shown