CORS Issue | Community
Skip to main content
Level 3
December 6, 2018

CORS Issue

  • December 6, 2018
  • 1 reply
  • 3582 views

Hey geeks.
I have a webapp which runs a javascript and returns JSON data when hit. However when the link is used in browser there seems to be CORS issue.
Help needed
Regards.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Jonathon_wodnicki
Community Advisor
Community Advisor
January 3, 2019

Hi,

You have to enable CORS in Apache, or IIS if using that:

https://enable-cors.org/server_apache.html

https://enable-cors.org/server_iis7.html

Thanks,

-Jon

Level 3
January 4, 2019

Hey Jon,

The API I'm accessing is on third party server and i don't think we will be able to do that.

Is there any other way to overcome the issue.

Thanks.

Jonathon_wodnicki
Community Advisor
Community Advisor
January 4, 2019

Hi,

If you can, the exploit itself would be worth more money than the feature being added.

Thanks,

-Jon