roy_sanu
asked on
REST API
Hello Experts,
I am trying to invoke a REST API POST call from a standalone html page using jquery $.ajax function. But I am getting the below error –
XMLHttpRequest cannot load https://<host>/<URI>. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Orig in' header is present on the requested resource. Origin 'null' is therefore not allowed access. The response had HTTP status code 500.
Let me know what is the issue....
Thank you
I am trying to invoke a REST API POST call from a standalone html page using jquery $.ajax function. But I am getting the below error –
XMLHttpRequest cannot load https://<host>/<URI>. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Orig
Let me know what is the issue....
Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.