Over at localhost:8080/abc/v1/doc, I get some json data when accessed directly from the browser's address bar. Here are the response headers:
Response Headers
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, OPTIONS
Content-Type: application/json
Transfer-Encoding: chunked
Server: Jetty(9.1.4.v20140401)
However, attempting to access this URL from a different domain results in the following exception:
No 'Access-Control-Allow-Origin' header is present on the requested resource
I also have a question about how REST API Clients can call any URLs even without the required 'Access-Control-Allow-Origin' header. How is this possible?
Thank you for your help!