Hi! I have recently started using php for my web projects, and tried to use codea to post some data to my database, however, I have heard that Codea sends the raw data, not the $_POST data. I was wondering if anyone knows how to convert the raw data into the $_POST format.
Ok, can you explain again exactly what is your problem ? You receive informations in $HTTP_RAW_POST_DATA but you want to convert them in a array, right ?
function setup()
http.request("http://102.168.1.2/codea/php.php",r,f,{method="POST",data={["name"]="text"})
end
function r()
print("connected")
end
function f(error)
print(error)
end