View Single Post
  #1  
Old 06-02-2009, 05:13 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
requesturl POST Support

Well it would be nice if we could use POST instead of GET methods for data in Graal to web server interaction.

In theory I'd do it like this..

PHP Code:
temp.postdata = {
  {
"testvar""testvalue"},
  {
"othervar""othervalue"}
};
temp.req requesturl(urlpostdata); 
Then on the webserver

PHP Code:
<?php
  
echo("testvar = " $_POST["testvar"] . "<br>");
  echo(
"othervar = " $_POST["othervar"]);
?>
After all that would return..

PHP Code:
testvar testvalue
othervar 
othervalue 
__________________
Quote:
Reply With Quote