Adaptor problem

I am trying to connect to LinkRest, a Jetty-RestServer. I am connecting with a proxy, but I still get: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. When adding a header in the application.js (adaptors) I can see that I get ‘OPTIONS //127…’ and not ‘GET //127…’ How can I solve this? ember-cli: 2.6.1 node: 4.4.4 os: darwin x64

The backend isn’t sending the Access-Control-Allow-Origin header. I think I ran into something like this one time where Ember Data made the preflight OPTIONS request, which my backend didn’t support. The fix for me was to make sure my backend supported OPTIONS requests and sent that Access-Control-Allow-Origin header.

Thank you. That’s it. I have read a good explanation about the subject, now I understand the preflight OPTION.