Jump to content

Help with XMLHttpRequest and CORS policy


Go to solution Solved by Rikki,

Recommended Posts

Posted

I am building a page in my community where it is linked to information I have on another site.

I created and API to get the information from the other site in use it in the page I am creating inside the community.

The page makes requiest using jQuery ajax to get and display the data.

The API alone is working when I visit the link, but from inside the community I am getting:

Access to XMLHttpRequest at 'MY API LINK' from origin 'https://www.ichancycommunity.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

How can I fix this and allow my community to not block the API ?

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...