Answers for "request-promise-native error RequestError: Error: unable to verify the first certificate"

0

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");
   }
});
Posted by: Guest on April-18-2020

Code answers related to "request-promise-native error RequestError: Error: unable to verify the first certificate"

Code answers related to "Javascript"

Browse Popular Code Answers by Language