· May 30, 2019

No 'Access-Control-Allow-Origin' header issue with Cors issue.

Hi All,

I have a REST dispatcher class in which I enabled the  Parameter HandleCorsRequest = 1;

I can able to access the API using Postman, but not with my web application. It throws the below error.

Access to XMLHttpRequest at '' from origin '' 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.

Is this something need to be modified in the apache config file ? and where to include ?

also I can see in the Web Trace at CSP GW - this call is returned with 404 error.



Discussion (3)0
Log in or sign up to continue