Skip to Content

CORS Issue while consuming Hana's OData

Hi,

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers