Hello everyone,
I'm starting to play with AJAX, so i added a text to behave as a button, then on the "On Click" i fire a AJAX action "POST TO URL" to a PHP file in my web server, the PHP file simply adds an entry in a database table.
After clicking the button i go to see the table and i see a new registry is created but the field is empty.
Set request header
Header: "Access-Control-Allow-Origin"
VALUE: "*"
The post to url parameters are:
TAG: "UUID"
URL: "http://www.myserver.com/test/prueba.php"
DATA: "lala"
Method: "POST"
if i execute the php file from the browser it adds the value just fine, for example:
http://www.myserver.com/test/prueba.php?UUID=lolo
Could anyone advise?
Thank you.