on 08-21-2016 12:47 PM
Hi Experts,
I'm trying to create simple application (displaying a table in UI5 by consuming OData services created in backend).
While executing the application in browser, I'm getting the below error:
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:61195' is therefore not allowed access. The response had HTTP status code 401.
What I did is as below:
1. Create the OData service in backend (its running successfully, I tried it in gateway client).
2. Develop UI5 application with table in eclipse.
UI5 code as below:
Error:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.