Skip to Content

CORS Issue while consuming Hana's OData

Nov 24, 2017 at 06:10 AM


avatar image


I am getting error in frontend

"Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin is therefore not allowed access."

I have set the advanced CORS settings via the XSADMIN tool and added the

"allowOrigin": ["*"] in the .xsaccess file in sap hana.

It will be great, if anyone help me.

Thanks and Regards,

Miyan Abdul Aleem

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers