cURL is an HTTP client library and command line tool.
Questions tagged [curl]
646 questions
1
vote
2 answers
fastest way to flood a certain Curl request (not for DDOS!)
Im trying to Send bunch of POST request to a server . i need to send maximum amount of possible requests for a second to sever and i have used CURL in linux a few tools like axios and nodejs but they are just not what im seeking for . the response…

ItsJay
- 13
- 1
- 4
1
vote
1 answer
php-curl and php7.3-curl installed but curl_init() is "undefined function" (Debian buster)
I have a problem with my web server since upgrading to buster. PHP doesn't seem to see the curl library :
root@myserver ~ # php -r "curl_init();"
PHP Fatal error: Uncaught Error: Call to undefined function curl_init() in Command line code:1
Stack…

danmcb
- 113
- 6
1
vote
1 answer
Send and receive SMS with mySMS
Sending and receiving SMS with mySMS using just bash & curl.
(Breaking the rules here - don't have a question - but I found this a challenge to make work, with few good examples out there, so here is an example. If you can improve on it - I'm…

Andyj12
- 149
- 1
- 5
1
vote
1 answer
Nginx cannot send whole response in a slow connection
Some user reported that cannot download whole response from my site when they are in a slow network connection.
I tested with curl --limit-rate 1k, and curl did report
transfer closed with 769569 bytes remaining to read
Why is that, and how to…

vego
- 123
- 4
1
vote
2 answers
Why does calling HEAD on this URL prevent the following error: ERROR: Message: SSL peer certificate or SSH remote key was not OK
This is an issue I'm having with a specific package but it looks like the software is using a version of CURL for windows or something. I want to understand this specific behavior because it doesnt make sense to me.
Im using this software which is a…

red888
- 4,183
- 18
- 64
- 111
1
vote
1 answer
curl command works as expected on CLI but not in a shell script
I have a series of curl commands I use to warm varnish using a script. The individual commands work just fine on the command line but when I put those same commands in a script they don't work.
#!/bin/bash
curl -o /dev/null --insecure -X PURGE -H…

nbucko
- 21
- 2
1
vote
1 answer
Getting error in curl command(curl: (35) error reading X.509 potentially-encrypted key file: Error in parsing.)
I am using below command
curl --insecure --cert 'cert.p12:password' -X GET https://serverUrl -H 'Content-Type: application/json'
curl --insecure --cert-type P12 --cert 'cert.p12:password' -X GET https://serverUrl -H 'Content-Type:…

Laxman Mali
- 11
- 1
- 2
0
votes
0 answers
Intermittent Curl 35 error when using self signed certificate on Tomcat
We are using self signed certificate behind a range of load balancers, the endpoints use Self Signed Certificates.
When testing the endpoints directly using CURL, we get intermittent SSL Connect errors (Code 35)
Here is an example output of a failed…

atlas_scoffed
- 183
- 1
- 7
0
votes
0 answers
Troubleshooting Docker Swarm cURL docker service across nodes via overlay network
I have setup a 3-node Docker Swarm. I can ping but cannot curl a docker service that ends up deployed on Host B from within a docker container on Host A. What am I missing? What else can I do to troubleshoot?
The host environment: one manager, two…

Arthur Weborg
- 101
- 2
0
votes
0 answers
Remote host closed connection during handshake - Certificate issue or connectivity?
I am getting SSL Handshake Exception when trying to communicate with a server.
I tried doing a curl to the server to figure out if there is connectivity but got the below error.
NSS error -5938 (PR_END_OF_FILE_ERROR)
Please check the screenshots for…

vivek verma
- 101
- 1
0
votes
1 answer
How to open google.com using curl with Host header (certificate does not match)
Since Google is using HTTPS/SSL I am unable to access it using the IP of Google.com and passing the Host header. I don't understand why this is not working.
Here is what I have tried so far.
I got the IP of Google.com
tracert google.com
Tracing…

Liga
- 135
- 2
- 12
0
votes
1 answer
Error uploading zip with curl on Catalina OSX 10.15.1
Using curl command tool pre-installled in OSx.
Command like:
curl -v -H 'Authorization:Bearer xxx' -H 'Accept:application/json' -F 'funzione=uploadPacket' -F 'folder_id=159' -F 'userfile=@//Users/mediabook/Desktop/forCatalina.zip'…

user2082733
- 3
- 2
0
votes
3 answers
Blocked from accessing website with EC2 Instance
When I run this command on my Ubuntu 16.04 EC2 Instance:
curl -vvv https://www.oddsportal.com/site-map-active/
it returns
* connect to 188.92.41.44 port 443 failed: Connection timed out
* Failed to connect to www.oddsportal.com port 443:…

frantic oreo
- 1
- 2
0
votes
1 answer
Call to undefined function curl_init()
I'm running XAMP on Windows XP Pro. I've enabled curl in PHP.INI en restarted my machine and Apache.
extension=php_curl.dll
Still I get the following error in my php script:
Call to undefined function curl_init()
File php_curl.dll is in…

solsol
- 1,121
- 8
- 21
- 31
0
votes
2 answers
HTTP Protocol: TLS/Requests/Responses classification after invoking the GET request method in curl
First of all, sorry for the inconvenience. I don't know if this is the right forum, but I've read several threads and there are some very expert people on this subject, so maybe one of them can help me.
I'm doing research for a university. Within…

NewUser
- 1