Use Requests to send data to webpage - how?
TheDGuy via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu May 19 12:28:46 PDT 2016
Hi,
i was sucessfull in installing requests and getting data from a
webpage like this:
Request rq = Request();
Response rs = rq.exec!"GET"("http://somewebpage.org/SQL.php",
["action":"getTemp"]);
But i am not able to send data to the webpage like this:
Request rq = Request();
Response rs = rq.exec!"GET"("http://somewebpage.org",
[parameter:data]);
If i just type this:
http://somewebpage.org/?parameter=data
in my browser the webpage reacts as intended but with the
Requests "GET" nothing happens. Do you know what i do wrong?
More information about the Digitalmars-d-learn
mailing list