Hello !
I try, try and retry but i can’t send nothing in my http.request POST… ='(
What i’v try :
http.request("http://webperso.iut.univ-paris8.fr/~ldavid/Codea/ProjectSharing/", function(data)
print(data)
end, alert, {
method = "POST",
data = "test"
-- data = "test=test"
-- data = 'test="test"'
-- data = {test="test"}
-- data = {["test"]="test"}
-- data = '{["test"]="test"}'
-- and same with json.encode
})
and this is the web page :
<?php
echo "GET\
";
var_dump($_GET);
echo "\
POST\
";
var_dump($_POST);
?>
Thanks before !