Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

libcurl

Name: Anonymous 2010-05-05 6:02

How do I post image replies with libcurl? I've already gotten it to make text replies:

#include <curl/curl.h>

int main(void)
{
    CURL* easyhandle = curl_easy_init();
    curl_easy_setopt(easyhandle, CURLOPT_URL, http://sys.4chan.org/lit/imgboard.php);
    curl_easy_setopt(easyhandle, CURLOPT_POSTFIELDS, "resto=632537&name=Anonymous&email=sage&sub=libcurl&com=image replies&pwd=hello&mode=regist");
    curl_easy_perform(easyhandle);
    curl_easy_cleanup(easyhandle);
    return 0;
}

And yes I'm aware of all the negative stigma attached to libcurl. You have to start somewhere though. At least it's not the curl (command line tool).

Name: Anonymous 2010-05-05 20:33

>>14
No ``it'' fucking doesn't.  Where are you getting this nonsense?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List