Does someone have an idea what could be happening?
I have 1 very simple function, that makes a POST request with axios to a public API.
When I run it locally using
netlify-lambda serve and I call the function through Postman, the lambda-function makes the request to the public API and it succeeds.
When I deploy the function and call it on the published url (also with Postman) I can’t access the API, it returns forbidden 403.
What can be different in the 2 requests, when the code setting the request is equal?