Use Requests to send data to webpage - how?

TheDGuy via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun May 22 06:32:54 PDT 2016


On Friday, 20 May 2016 at 14:42:19 UTC, TheDGuy wrote:
> On Friday, 20 May 2016 at 09:21:33 UTC, Kagamin wrote:
>> Does this work?
>>
>> Request rq = Request();
>> Response rs = rq.exec!"GET"("http://somewebpage.org/", 
>> [parameter:data]);
>
> No :(

If i call my SQL.php function directly with:

Response rs = rq.exec!"GET"("http://site/SQL.php", 
["action":"insertTemp","value":"7"]);

it works perfectly fine. But i don't understand why my html site 
does not get that request...Any ideas?


More information about the Digitalmars-d-learn mailing list