- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hey there. I am trying to get json using an http get request. I cannot since each time I get cross origin request blocked error. how do I enable cross origin request sharing? Also, if I want to use http post to upload values to another domain, how to proceed? I am a beginner and I would appreciate any help. thanks
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In order to enable cross origin request, you need to add the domain name of the site or server to the access list under the Projects > Build Settings panel for your specificed project.
You can find more information at https://software.intel.com/en-us/xdk/articles/cordova-cli-412-domain-whitelisting-with-intel-xdk-for-ajax-and-launching-external-apps.
You can implement post requests for example via jQuery in your application or AngularJS.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page