Forum Post: RE: My rest service url's are not working in page load and any other events.

  • Thread starter Thread starter Ricardo Perdigao
  • Start date Start date
Status
Not open for further replies.
R

Ricardo Perdigao

Guest
Ram, I just wrote a simple sample with the same data-source you had ( sofuture.com/.../iphone ) and it did not work for me either. The reason it did not work for me was because of CORS. After that, I went into my Chrome icon and edited and added a parameter: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security That disabled Chrome's CORS check and I run it again. It worked on the second time ... Do you have Chrome, can you add that parameter to your Chrome and test it again? If it works, it will confirm that you have a CORS issue. Another way to confirm is by right clicking on your Mobile App (on the Chrome Browser), select "Inspect Element" and look at errors on the Console Tab. Hope this helps you, Ricardo Perdigao

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