Skip to Content
0
Former Member
Nov 21, 2016 at 04:54 AM

CORS issue accessing xsodata

981 Views Last edit Nov 21, 2016 at 05:01 AM 2 rev

Hi,

I'm getting following error while accessing Cross Origin Resource:

and XHR as follows

I did the CORS configuration in .xsaccess file as follow:

and also in XS Admin console as follow:

and following is the code from SAPUI5 manifest.json:

I don't know what I'm missing here. Kindly help me on this.

Thanks and Regards,

Binay Biswakarma

Attachments

origin.jpg (22.5 kB)
xhr.jpg (37.9 kB)
xsaccess.jpg (37.5 kB)
security.jpg (45.4 kB)
cors.jpg (53.7 kB)
custom.jpg (25.1 kB)
ui5.jpg (15.2 kB)