Although I have created the .php file and placed in inside my app folder, as well as in Project Properties and Global Code, when I click the key to send the information to the (local) server I get a response:
" Failed to load file:///C:/wamp64/www/UTApp/UTApp/myphp.php/?myText=%27A%20test%20msg%27: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https."
myphp.php is the php file that will handle the message passed from the app.
The code in my app (simplified) is :
Button1.onclick=function(){
req=Ajax("myphp.php/?myText='A test msg' ", done)
}
function done(){
//this is not needed. I can see results from chrome.
}
I am trying to deploy the app and then test the communication but with no luck.