Note: the following is dangerous, and will allow API content to be intercepted and modified between the client and the server.
This also worked
process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = '0';
More Related Contents:
- node-request – Getting error “SSL23_GET_SERVER_HELLO:unknown protocol”
- Removing nested promises
- How to create an HTTPS server in Node.js?
- Getting binary content in Node.js using request
- How can I chain these functions together with promises?
- Configuring HTTPS for Express and Nginx
- nodejs – error self signed certificate in certificate chain
- How to maintain a request session in NodeJS
- How can I make this call to request in nodejs synchronous?
- How to get data out of a Node.js http get request
- Node.js request CERT_HAS_EXPIRED
- How to fix ‘$(…).click is not a function’ in Node/Cheerio
- How do you get a list of the names of all files present in a directory in Node.js?
- How to display binary data as image in React?
- Mongoose, Select a specific field with find
- Using filesystem in node.js with async / await
- Where is the Socket.IO client-side .js file located?
- Get the _id of inserted document in Mongo database in NodeJS
- Extract image src from a string
- How to disable Express BodyParser for file uploads (Node.js)
- Error [ERR_REQUIRE_ESM]: require() of ES Module not supported [duplicate]
- How to promisify Node’s child_process.exec and child_process.execFile functions with Bluebird?
- puppeteer: wait N seconds before continuing to the next line
- What does “res.render” do, and what does the html file look like?
- How to decipher string in node js which is encrypted in crypto js in javascript
- Can I set a private class field using a variable as identifier? How?
- Can I use a Gulp task with multiple sources and multiple destinations?
- Heroku: “No default language could be detected for this app” error thrown for node app
- How can I read a local file with Papa Parse?
- Firebase-Admin, importing it to react application throws Module not found error