0
Q:

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");
   }
});
0

New to Communities?

Join the community