Questions tagged [curlpp]

C++ wrapper for libcurl

C++ library wrapping (and simplifying) , not actively maintained anymore.

82 questions
3
votes
2 answers

to get response using curlpp

I am using curlpp to receive the response. I am referring this example of curlpp site http://curlpp.org/index.php/examples/64-example-14. But I am not getting where the response is stored so that I can use it for further purpose. The code is only…
rajbir
  • 39
  • 1
  • 3
3
votes
3 answers

How do I retrieve the response cookies through curlpp?

how can I retrieve the response cookies from a curlpp request? I want to store the PHP session off of a HTTP GET request. This is my current code: void Grooveshark::Connection::processPHPCookie() { std::ostringstream buffer; …
mkroman
  • 391
  • 1
  • 3
  • 11
3
votes
2 answers

Downloading flv from youtube using curlpp on top of curl - video not playing

I"m using curlpp on to of curl lib in order to download videos from youtube. I have managed to download the flv but unable to open it using all sorts of video players. I used another youtube video downloader and download the exactly same video with…
YanivH
  • 99
  • 1
  • 9
3
votes
1 answer

How do you compile example00 from the cURLpp github repo?

I installed cURLpp, and I am trying to compile example00.cpp from their GitHub repo. But, when I run g++ example00.cpp -o example00 I get this output: /tmp/cc619KAL.o: In function main': example00.cpp:(.text+0x26): undefined reference…
TheWatcher _
  • 45
  • 1
  • 7
3
votes
3 answers

Cross platform c++ with libcurl

I am a perl developer that has never went into the client side programming of things. I'd like to think that I'm a pretty good developer, except I know that my severe lack of knowledge of the way desktop programming really takes away from my…
user226723
  • 305
  • 1
  • 3
  • 6
2
votes
0 answers

Add curlpp to cmake project

I am trying to do a project in C++ with the help of curlcpp and cmake, but I am unable to compile the project. I am new to CMakeLists and it is quite difficult to understand how to add the stuff you require to make your project work. I basically…
Alexis
  • 82
  • 9
2
votes
1 answer

How to get header response and response body separatey in curlpp response

I am new to C++ and curlpp, and I needed the header response and the response body from the curlpp response, but what is happening is I am getting both the things in the same string, is there any way or any flag which will help me in storing the…
Ashwin
  • 23
  • 3
2
votes
0 answers

How do I set cookies from HTTP header "Set-Cookie: " using curlpp

How can I set this cookie using curlpp or libcurl when receiving response from server? I haven't found anything, so do I have to handle it myself? I don't want to set cookies to concrete http request, but something like InternetSetCookie in wininet.…
Rampage
  • 51
  • 1
  • 6
2
votes
1 answer

CURLpp: TLS Handshake Error

This question is similar to another one, concerning pyCURL I have the following error when I send a post request to a secure url, using CURLpp https://stackoverflow.com/questions/1942719/pycurl-tls-handshake-error Ok, so according to the answer to…
0x26res
  • 7,536
  • 9
  • 48
  • 90
2
votes
1 answer

How to use curlpp's InfoGetter?

I'm using curlpp in an application and need to get the URL I was redirected to. Apparently there are two ways: track the Location headers (ugly) or use curlpp::InfoGetter (the c++ counterpart of curl_easy_getinfo()). But how do I use…
craesh
  • 3,355
  • 3
  • 21
  • 28
2
votes
1 answer

Issue with the line feed character in libcurl (curlpp)

I'm currently using curlpp to perform an HTTP query, but curlpp is reporting that there are illegal characters in the URL. I've narrowed down the URL problem to a variable that is being read from a config file (one line, it just contains the…
2
votes
2 answers

Undefined reference to curlpp using code::blocks on kubuntu

I have a problem with curlpp library. I'll explain the steps that I followed. Step 1: download and installation download website: Download $./configure $make $sudo make install curlpp header files are located in /usr/local/include/ curlpp…
Hani Goc
  • 2,111
  • 3
  • 35
  • 76
2
votes
2 answers

Curlpp, incomplete data from request

I am using Curlpp to send requests to various webservices to send and receive data. So far this has worked fine since i have only used it for sending/receiving JSON data. Now i have a situation where a webservice returns a zip file in binary form.…
Edwin
  • 21
  • 1
1
vote
1 answer

How can I get an HTML on a local IP using libcurl?

At work, I have a device in another part of the building, which hosts a web page: http://10.1.1.165/ which I need to parse. I am attempting to use curlpp to retrieve the page and then libxml2 to parse the html. Currently I have: curlpp::Easy…
B. Hoeper
  • 166
  • 1
  • 10
1
vote
0 answers

cURLpp installation

I have downloaded, compiled and installed cURLpp. When I try to compile the example, it says that the headers can't be found (curlpp/curlpp.hpp etc.) but they are present in /usr/local/include. How do I add the library to my project? I am using…
jmac
  • 11
  • 1