Simple HTTP support

Adam Ruppe destructionator at gmail.com
Fri Feb 25 07:12:55 PST 2011


I've made a very simple curl wrapper:

http://arsdnet.net/dcode/curl.d

It is meant to provide trivial get and post support:

string response = curl("http://mywebsite.com"); // contains the response

curl("http://mywebsite.com", "var=something&v2=moe"); // do a POST


There's functions in my module to do cookies and other things too,
but those functions are kinda ugly. (I just whipped them together to
work without worrying about beauty.)


More information about the Digitalmars-d mailing list