cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HTTP Request failed error in Netweaver Gateway using HTML5

Former Member
0 Likes
1,946

Hi All,

This is the error i'm getting when i tried in the browser. I was trying to access the index.html page created.

The Odata service has one parameter. Kindly help me with this issue.

Chrome Stats using F12

View Entire Topic
Former Member
0 Likes

What also might be the issue, I see you are using Chrome. When your OData service is on your server, and your front end code is on your localhost (you have to use a localhost if you are going to develop locally on your computer first), then you have to open chrome in a different mode.

Close all your open chrome windows. Create a shortcut on your desktop, right click and choose 'properties' At the 'target', add --disable-web-security.

Open your shortcut, chrome will give you a warning but you can ignore that. By default chrome blocks cross origin requests and this causes issues when you want to call your service from your localhost. By opening chrome with the web security disable, you can make cross origin requests.