Hi everyone! I have a similar issue, I get no response or error when axios request after deploying on Netlify
my request :
axios({
method: ‘get’,
url: ‘https://funcs-lab.netlify.app/.netlify/functions/coucou’,
})
.then((response) => {
console.log("response: ", response);
}).catch(error => {
console.log("erreur: ", error);
});
And when I use node-libcurl :
const {curly} = require(‘node-libcurl’);
const { statusCode, data, headers } = await curly.post(‘https://funcs-lab.netlify.app/.netlify/functions/coucou’, {
postFields: querystring.stringify(params),
httpHeader: [
‘Accept: text/xml’
],
})
console.log("data: " ,data)
I get this error after deploying on netlify
6:27:34 AM: 896f1fbc ERROR Invoke Error {“errorType”:“Error”,“errorMessage”:“Problem with the SSL CA cert (path? access rights?)”,“code”:77,“isCurlError”:true,“stack”:[“Error: Problem with the SSL CA cert (path? access rights?)”]}
@colbyfayock Have you fix it ?
Thanks