Questions tagged [curlpp]

C++ wrapper for libcurl

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

82 questions
10
votes
3 answers

Using CurlPP with vs2008

I'm trying to build a C++ console app in VS2008 using the static curlpp library. The code - which is curlpp example 00 - is as follows: #include "stdafx.h" #include #include #include…
Jon
  • 683
  • 3
  • 15
  • 34
8
votes
1 answer

Failing to compile curlpp

I've been on this for a few hours now (and that's just today) so I could really use some help. I always code in a Windows environment so I am trying to add curlpp to my Code::Blocks project. I downloaded curl-7.22.0-devel-mingw32 and added all…
natli
  • 3,639
  • 10
  • 44
  • 80
8
votes
3 answers

Link errors with curlpp

I wrote a c++ program and try to use curlpp to access a http server securely over SSL. The problem is, that I can't link the program. Operating system: Ubuntu 15.10 Errors: /usr/bin/cmake -E cmake_link_script CMakeFiles/prtg_probe.dir/link.txt…
A.T.
  • 83
  • 1
  • 5
7
votes
2 answers

Posting and receiving JSON payload with curlpp

With the curlpp C++ wrapper for libcurl how do I specify JSON payload for a post request and how can I receive JSON payload in response? Where do I go from here: std::string json("{}"); std::list header; header.push_back("Content-Type:…
Oleg Sklyar
  • 8,393
  • 3
  • 35
  • 53
7
votes
1 answer

C++ - how to send a HTTP post request using Curlpp or libcurl

I would like to send an http post request in c++. It seems like libcurl (Curlpp) is the way to go. Now, here is a typical request that am sending http://abc.com:3456/handler1/start? The name values pairs will have: field1:…
AMM
  • 12,892
  • 19
  • 61
  • 74
7
votes
0 answers

Adding curlpp library with CLion cmake to C++ project

Im using CLion with cmake system building on Windows 10. I want to add this curlpp https://github.com/jpbarrette/curlpp for http request. I download lib from GitHub and put into project folder. Next I add this to my CMake…
Artur Kasperek
  • 455
  • 1
  • 5
  • 13
6
votes
3 answers

Progress Indicator for Multiple downloads with cURLpp

I am writing a program that downloads multiple files (at the moment its only 2). I am trying to get it to display a progress bar for each download using the ProgressFunction callback. The problem I am running into is I cannot figure out a way to…
Drew
  • 151
  • 1
  • 7
6
votes
0 answers

How to install cURLpp in Windows?

Complete newbie here, as you most probably guessed by my previous post. I can't seem to find anything on this, and I have never installed a library before. my previous question was answered with telling me to install and use libcurl, and that cURLpp…
Pebsie
  • 75
  • 1
  • 9
6
votes
1 answer

Compile issues with curlpp: undefined reference to symbol 'curl_easy_setopt@@CURL_OPENSSL_3'

Brief account of the issue: After installing curlpp, I attempted to compile c++ code which uses the curlpp library and got the following error: g++ testCurl.cpp -lcurlpp /usr/bin/ld: /tmp/ccx5aH5P.o: undefined reference to symbol…
user2548343
  • 591
  • 4
  • 11
5
votes
1 answer

How do I add curlpp to my project?

I'm trying to make a transition from vb.net to C++ and I'm stuck on this. I downloaded curlpp from here which got me a .dll, .exp and .lib file. I added the directory that contains those 3 files to "Additional Library Directories" in the project…
natli
  • 3,639
  • 10
  • 44
  • 80
5
votes
1 answer

Linking curl in a project using CMake

I don't have experience with C++, and only need to make a small adjustment to a C++ application to do a HTTP request to authenticate a user. Curlpp is an option, but when including the libraries I get an error on building: Undefined symbols for…
Luuk D. Jansen
  • 4,120
  • 7
  • 41
  • 86
4
votes
0 answers

Synchronous HTTPS requests with curlpp

When I try to preform lots of synchronous https request using curlpp, I get the following error: Failed to connect to https://www.google.com/ port 443: No route to host The code below is of course only a stripped-down, cleaned-up sample of the…
JesseB1234
  • 127
  • 6
4
votes
3 answers

how do I extract the http response when using libcurlpp?

Trying to use libcurlpp (a C++ wrapper to libcurl) to post a form and get the response. It all works, but I have no idea how to programmatically get access to the response from the curlpp::Easy object after the http transaction has finished. …
Stéphane
  • 17,613
  • 22
  • 82
  • 117
4
votes
2 answers

Making HTTP Requests in Qt

I'm new to Qt. I installed Qt for VS2008 and integrated with my VS2010. I just want to know how to make HTTP requests. I've read about QtNetwork but QtHttp is obselete. I also know about libcurl and curlpp, but I have problems installing it, and…
Ruel
  • 14,301
  • 6
  • 34
  • 49
3
votes
2 answers

POST data from curl++ does not send

I have been trying to post data from within curlpp to a web script, but it does not seem to work. On the PHP end, I simply run var_dump($_POST); to print everything received back. The $_POST global appears empty on execution. My C++ code is as…
Jeff
  • 71
  • 2
  • 5
1
2 3 4 5 6