cURL is an HTTP client library and command line tool.
Questions tagged [curl]
646 questions
0
votes
2 answers
curl taking long time when not specifing i.p. address
I am using cURL to catch a remote server response.
I've noticed that this method takes me 20 seconds eveytime. I've googled and found that something with the DNS lookup is misconfigured on my server (apache).
When i'm writing the exact i.p of the…

user31279
- 3
- 2
0
votes
1 answer
Different response when hitting curl command with & without single quotes
I am hitting admitAD API using curl command.
If i below URL
curl -L -H 'Authorization: Bearer MY_TOKEN' -X
GET https://api.admitad.com/payments/?limit=2&has_statement=0
I am getting response
{
"_meta": {
"count": 21,
"limit":…

Ajit Soman
- 113
- 2
- 8
0
votes
1 answer
How to use curl and telnet instead of cgi-fcgi?
I am using this script.c:
#include
#include
int main (void) {
while (FCGI_Accept() >= 0) {
printf("Status: 200 OK\r\n");
printf("Content-type: text/html\r\n\r\n");
…

Грузчик
- 103
- 6
0
votes
0 answers
Create my own proxy server by using AWS Linux EC2 instance, Error: The connection has timed out
I have tried to create my own proxy server by using AWS Linux EC2 instance. I followed the steps from this article and this article. (Here is all the details and screenshots of steps) But after create the instance and configure the Tinyproxy and…

Sann
- 1
- 1
0
votes
0 answers
Issue with api request from linux
I have issue with http bearer auth json post to api.
Used apps or and php methods
wget
console curl
php curl
file get contents
Sucessfull scenarios - post request
Computer connected to same network as server.
request from wsl1 Debian
request…

newman
- 51
- 3
0
votes
1 answer
zsh use old binary after install new binary
I've upgraded curl from source by configure, make and sudo make install.
But, My zsh use old version binary. What the reason for this behavior?
Environment
CentOS Linux release 7.8.2003
zsh 5.3.1
antigen
Processes
Install curl 7.75
curl --version…

Sheile
- 103
- 2
0
votes
1 answer
Different curl responses when using Gitbash vs windows command prompt
I have a https restful endpoint which I am querying with curl using a command like this:
curl -k --cert client-cert.pem:password https://test-server@mycompany.com/api/vi/getinfo
In Gitbash this works and returns data.
From windows command prompt the…

ad2711
- 3
- 3
0
votes
1 answer
Corrupted curl download when using the resume option?
I'm using curl to download a 10MB file over a poor connection.
I use the -C - option in a loop to resume the download if it breaks (see
the snippet below).
The resuming works when I test locally and interrupt the download - after restarting the…

Mihail Kostira
- 101
- 2
0
votes
1 answer
Can I make curl (or wget) ignore a specific TLS error? (bypassing expired certificate without disabling cert validation)
I'm working on a script which depends on a remote API endpoint which I do not control.
Today, my script stopped working, because the endpoint's SSL certificate expired today and they haven't yet fixed it. Running curl -v, I get the following…

Wug
- 151
- 1
- 5
0
votes
0 answers
Nginx controller in kubernetes cluster is not forwarding curl request to service
My Ingress Controller is not forwarding the request to the service, how can i fix it? I can see that my Ingress is missing addresses, but i do not know why.
I have a Kubernetes Cluster running on a 1 master, 2 worker setup on linux servers. I have a…

jergan95
- 3
- 4
0
votes
1 answer
curling service inside kubernetes cluster blocked by corporate proxy
I have a Kubernetes Cluster running behind a corporate proxy. I am not using Minikube. I have http_proxy, https_proxy and no_proxy set in //etc/environment. no_proxy has 127.0.0.0 and every node-ip defined.
If i try to curl a service with ClusterIP…

jergan95
- 3
- 4
0
votes
1 answer
curl prioritize the IP provided to resolve arg (or another) over other DNS options
When attempting to use curl to get around a misconfigured DNS entry (experimenting and not known at the time), --resolve seemed like the right way to go. However, the argument didn't behave the way I expected and (successfully) 404's.
Editing the…

ti7
- 215
- 2
- 9
0
votes
0 answers
CentOS 8 yum/dnf update fails over internet connection
I have a squid proxy server on CentOS 8 and whenever I install a package it returns lines along the following:
[MIRROR] git-core-doc-2.27.0-1.el8.noarch.rpm: Curl error (3): URL using bad/illegal format or missing URL for //Unfocus the…

Gwynn
- 13
- 6
0
votes
1 answer
curl nginx as proxy server with "-i" works but with "-I" 404
i'm trying to make nginx as proxy_server to nodejs app on port 3000 for testing purpose with compression,
when doing this:
curl -I -H 'Accept-Encoding: gzip, deflate' http://localhost/json
i go this:
and when curl it with -i with body shown
curl…

Younes Keraressi
- 3
- 3
0
votes
1 answer
AWS SES emails going to spam
I have a domain on name.com and the website is hosted on AWS Lightsail. I have set up SES service for the emails. I am doing a curl request to my domain to send an email from the email server which is also hosted on the same lightsail instance.
I…

Pushprajsinh Chudasama
- 111
- 3