Skip to Content
1
Former Member
Apr 17, 2015 at 01:50 PM

CORS error with protected resource

600 Views

Hi,

When accessing a protected resource; like a user information etc; /rest/v2/electronics/users/abc.def@gmail.com I am getting error 403, when it is hit from within a page.

The error says: "No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:9000'; is therefore not allowed access. The response had HTTP status code 403.

More details about it is available on mozilla developer site. https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS#Access-Control-Allow-Origin

Thanks! Asit