Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #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
  #2  
Old 06-02-2009, 09:15 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
From what I understand, this is already possible, but it requires Stefan to enable sockets on your server.
__________________
Reply With Quote
  #3  
Old 06-02-2009, 09:27 PM
Riot Riot is offline
Delteria Management
Join Date: Nov 2003
Location: Seminole County, Florida
Posts: 280
Riot is on a distinguished road
Quote:
Originally Posted by cbk1994 View Post
From what I understand, this is already possible, but it requires Stefan to enable sockets on your server.
I asked about getting something like this when he mentioned using POST on the TwitterBot page and he responded with using sockets for it:
http://forums.graalonline.com/forums...8&postcount=13
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:18 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.