Forum Post: RE: External JSDO service and cross-domain origin

  • Thread starter Thread starter egarcia
  • Start date Start date
Status
Not open for further replies.
E

egarcia

Guest
Hello, For CORS to work, the server needs to return Access-Control-Allow-Origin header that web browser can use to validate the access. I have not tried this out, however, Tomcat includes supports or CORS: enable-cors.org/server_tomcat.html The CorsFilter class in Tomcat allows you to specify a url pattern so that the CORS response header are returned. Have you tried this? If you are not able to configure CORS for the REST API, you could connect Technical Support so that they can log a request to add the support for the CORS headers to the REST API. I hope this helps.

Continue reading...
 
Status
Not open for further replies.
Back
Top