Can't Request Ajax Call


I have tried to use a Ajax call to call a function but i’m getting the below error:

Access to XMLHttpRequest at ‘’ (redirected from ‘http://…ajax/rsvp’) from origin ‘http://…’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

How can i make the ajax work ?

you’re sending ajax request to ?

Like the URL suggests, being redirected to means that the URL is returning a 404 Page Not Found error. Please double check the URL you’re sending the request to, because the server can’t locate it.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.