Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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");
   }
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #error #unable #verify #certificate
ADD COMMENT
Topic
Name
1+8 =