requesterror unable to verify the first certificate 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");
}
});