libcurl Questions
2
ok so basically i want the response headers after i sendt my post request.
this is my send post code
pDataInfo->recvHeadBuff = (char*)VirtualAlloc(NULL, 4096, MEM_COMMIT | MEM_RESERVE, PAGE_E...
6
Solved
I am trying to use Curl in C.
I visited Curl official page, and copied sample source code.
below is the link:
http://curl.haxx.se/libcurl/c/sepheaders.html
when I run this code with command "gcc...
8
I'm trying to import pycurl:
$ python -c "import pycurl"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: libcurl.so.4: cannot open shared object fi...
Shiny asked 8/7, 2009 at 19:6
6
Solved
I'm facing this issue in my Ubuntu 20.04.2 LTS (fossa-charmander-14 X60). I've bought new DELL Latitude 5420. When I type the command "curl" this error shows up.
curl: symbol lookup error...
Bounded asked 20/9, 2021 at 13:36
4
what are the reasons for when using cURL form linux server to access the site return an error. but opening this site in chrome succeeds.
13
I'm trying to install the Rails environments on Ubuntu 11.04. When I launch the command rvm install 1.9.2 --with-openssl-dir=/usr/local the following error is received:
curl : (1) Protocol https n...
Saveall asked 30/7, 2011 at 17:7
5
ok, so im running an old Mac 10.6.8 with homebrew. brew doctor reports no errors and i have tried brew prune update etc. Everytime i try to install a package, i get this error:
curl: (77) error se...
4
I'm trying to access a third-party service via PHP curl on a Centos 6 system which comes with curl and libcurl compiled against NSS instead of OpenSSL.
This is causing problems for me, every time ...
2
So I've been looking around the internet for a basic example of parsing JSON using libcurl and jsoncpp but I've not been able to find one.
Could someone please point me in the right direction or s...
3
Solved
My code is trying to access an HTTPS server and it has its own certificate. Example, the IP is "10.0.1.101".
If I go through Safari and access "http://10.0.1.101", everything's OK. I do a simple c...
4
I downloaded "curl library" for use with a third party application. When I run the included cmake file, I get the following error. Please help me. I appreciate it:
> The C compiler identificati...
2
Solved
I am creating binary of s3fs-fuse on Ubuntu 14.04 by following the compilation link. In some systems I get the below error while doing the mount operation on kubernetes pods
---- ------ ---- ----...
1
Solved
I have been working on libcurl library and there I need to provide the API with a callback function of how it should handle the recieved data.
I tried providing it with this callback function as a ...
6
Solved
I have a django view that returns HTTP 301 on a curl request:
grapefruit:~ pete$ curl -I http://someurl
HTTP/1.1 301 MOVED PERMANENTLY
Date: Fri, 16 Oct 2009 19:01:08 GMT
Server: Apache/2.2.9 (Win...
2
Solved
Can anyone show (through code) or explain to me how I might use libevent and curl together in a c program? I'm trying to write a high-performance non-blocking data monitor which needs to upload dat...
Cancellate asked 3/8, 2011 at 14:2
5
Solved
spending some time studying pycurl and libcurl documentation, i still can't find a (simple) way, how to get HTTP status message (reason-phrase) in pycurl.
status code is easy:
import pycurl
impor...
Ligule asked 27/4, 2010 at 18:2
3
I know there are hundreds of posts out there but somehow this does not work for me. I am trying to send an email with libcurl. This is my code:
#include <stdio.h>
#include <string.h>
#...
3
I'm using libcurl libraries to call a rest endpoint and it fails on pulling the self signed cert with the error: schannel: Failed to import cert file sit.cer, last error is 0x80092002.
I'm not real...
Natty asked 5/10, 2020 at 19:47
8
Solved
I have this code
if(ereg("^(https)",$url))
curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,false);
// execute, and log the result to curl_put.log
$result = curl_exec($curl);
$error = curl_error($c...
3
Solved
Is it possible to set the option to retry on timeouts in PHP cURL?
I know I can do this by coding it to retry on failure, just wondering if there's some way to do it through an option.
1
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 te...
1
I want to retry a curl connection in my C++ program for 5 times. When it fails 5 times in a row, it should stop the execution of the program. However, it stops after the first error at this point. ...
Baynebridge asked 7/5, 2017 at 10:15
3
Solved
I am following this link for elasticsearch.
https://www.elastic.co/blog/a-practical-introduction-to-elasticsearch
I am trying following curl to post the json data.
curl -XPOST "http://localhost...
Edwinaedwine asked 17/7, 2018 at 9:42
1
curl fails with openssl version 1.1.1d butt works fine with OpenSSL/1.0.1t. I am trying to debug the reason and unable tto find one.
Please find below trace from curl logs.
Failure case (curl 7.64....
3
I wrote a very simple program in Linux using c++, which downloads images from some website over http (basically developed a http client request), using cURL libraries. http://curl.haxx.se/libcurl/c...
Zampardi asked 25/2, 2013 at 16:29
1 Next >
© 2022 - 2025 — McMap. All rights reserved.