Re: libcurl acting differently to curl.exe

2017-12-11 Thread ikod via Digitalmars-d-learn
On Monday, 11 December 2017 at 03:53:25 UTC, Josh wrote: The POST C code was: /* Sample code generated by the curl command line tool ** * All curl_easy_setopt() options are documented at: * https://curl.haxx.se/libcurl/c/curl_easy_setopt.html Maybe off-topic but you can

Re: libcurl acting differently to curl.exe

2017-12-10 Thread Josh via Digitalmars-d-learn
The POST C code was: /* Sample code generated by the curl command line tool ** * All curl_easy_setopt() options are documented at: * https://curl.haxx.se/libcurl/c/curl_easy_setopt.html / #include

libcurl acting differently to curl.exe

2017-12-10 Thread Josh via Digitalmars-d-learn
I'm trying to use libcurl in D to download a page that requires logging in first. At the moment though, I can't even get the logging in working. I tried with curl.exe, got it working, and used the --libcurl command to export C code that I then turned into (I think) equivalent D code. The