Error: unable to verify the first certificate request-promise npm code example
Example: request-promise-native error RequestError: Error: unable to verify the first certificate
request.post({url: "https://example.com", "rejectUnauthorized": false}, form)
.on('response', function(response) {
if (response.statusCode === 200) {
console.log("DONE");
} else {
console.log("FAIL");
}
});