title: Access-Control-Allow-Origin error when accessing Northwind OData service from SAPUI5?
body: <p>I have created a sample SAPUI5 application in online editor  </p>
  
  <p><a href="http://plnkr.co/edit/18ntzP?p=preview" rel="nofollow">Check this link to view my code</a></p>
  
  <pre><code>I am getting this below error -
  
  &gt; XMLHttpRequest cannot load
  &gt; http://services.odata.org/V2/Northwind/Northwind.svc/Products?$format=json.
  &gt; No 'Access-Control-Allow-Origin' header is present on the requested
  &gt; resource.
  </code></pre>
  
  <p>Can someone help me in solving this issue - I understand that it is CORS issue which can be solved by disabling the security in chrome.</p>
  
  <p>However - I don't to disable the security feature of chrome. So, is there any other way (probably by passing some headers) to solve this issue.</p>
  
  <p>Appreciate your help in advance.</p>
  
  <p>P.S.: I have already looked in these links - </p>
  
  <blockquote>
    <p><a href="http://scn.sap.com/community/developer-center/front-end/blog/2013/06/29/solving-same-origin-policy-issue-in-different-ways" rel="nofollow">http://scn.sap.com/community/developer-center/front-end/blog/2013/06/29/solving-same-origin-policy-issue-in-different-ways</a></p>
    
    <p><a href="http://scn.sap.com/community/gateway/blog/2014/09/23/solve-cors-with-gateway-and-chrome" rel="nofollow">http://scn.sap.com/community/gateway/blog/2014/09/23/solve-cors-with-gateway-and-chrome</a></p>
  </blockquote>