However I am facing an issue. I am making an API call to an URL from my node.js, which is hosted on Heroku. I am expected to get a JSON response. However the logs show permission denied to the URL with 403 status.
I have even set Access-control allow Origin: * but in vain.
Do you have your code somewhere so I can look at it? That sounds like something is definitely stopping it from being able to connect, but without seeing anything it's hard to say what might be causing it. I'll be happy to help if I can!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Linda,
Thank you for the thorough blog.
However I am facing an issue. I am making an API call to an URL from my node.js, which is hosted on Heroku. I am expected to get a JSON response. However the logs show permission denied to the URL with 403 status.
I have even set Access-control allow Origin: * but in vain.
Can you help me !
Hi anishjana -
Do you have your code somewhere so I can look at it? That sounds like something is definitely stopping it from being able to connect, but without seeing anything it's hard to say what might be causing it. I'll be happy to help if I can!