Re: libsoup HTTP GET request

Ruben Vermeersch wrote:

>Hi all,
>I'm porting a piece of code from libcurl to libsoup, but there's very
>little docs about libsoup available. How does one make a HTTP GET
>request using libsoup? Does anyone have an example of that?
>Also, the URL parameter should be escaped, similar to what char
>*curl_escape( char *url, int length ); (if you have dev pkgs for libcurl
>installed: man 3 curl_escape), how does one do such a thing using
The libsoup/tests/get.c example should demonstrate enough to do simple
GET requests.

For encoding/decoding a URI component, see soup_uri_encode() and


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]