Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
Can web app built by Monaca handle XMLHttpRequest?
honglio last edited by
I have some html file which send XMLHttpRequest to its web server to get data. If I built these html files to app using Monaca, I suppose the XMLHttpRequest will not work due to cross origin requests. Am I right?
munsterlander 侍 last edited by
@honglio This can be accomplished by utilizing the Whitelist Plugin which is now part of core plugins for Cordova. More information on how to setup your config can be found here: https://cordova.apache.org/docs/en/latest/guide/appdev/whitelist/index.html