cURL is an HTTP client library and command line tool.
Questions tagged [curl]
646 questions
0
votes
1 answer
problems mounting curlftpfs
I am attempting to mount an FTPS connection but am not having much success in getting it to automatically mount. I am using AWS Linux. I can get it working from the command line with:
curlftpfs :/incoming /home//autohcidev/ -o…

Bernard Lechler
- 1
- 1
- 3
0
votes
0 answers
Port is open and listening but is denying connections
Port is open and listening but is denying connections.
When trying to CURL in terminal
curl --data-binary '{"id":"curltext","method":"addrequest","params":{"amount":"3.14","memo":"test"}}' http://user:pass@127.0.0.1:7777
Error Message
curl: (7)…

seamus
- 109
- 1
- 5
0
votes
1 answer
Hide running service such as Nginx from a port scan
When I run a Port Scan to my server through NMap (like this)...
$ nmap -A -p443 example.com
...then I get an output like...
Starting Nmap 7.70 ( https://nmap.org ) at 2018-03-29 00:14 BST
Nmap scan report for example.com (1.2.3.4)
Host is up…

David Garcia
- 33
- 1
- 2
0
votes
1 answer
Debian version change affecting scripts using curl and HTTPS
Recently I started to use Debian 9 (9.4, from Debian 8.x) and a script involving curl stopped working. I connect to internet through a squid proxy on localhost connected to a parent proxy.
My environment variables are configured like…

Yanko Hernández Álvarez
- 574
- 2
- 8
- 18
0
votes
2 answers
Curl SSL verification issue on CentOS 5.7 (bypassing doesn't work)
I'm on a CentOS 5.7 server trying to install ssl cert through GitHub script.
First when I execute, I get curl error 60 and if I set insecure in ~/.curlrc then I still get curl error 35.
I also tried updating ca-bundle.crt from…

user
- 3
- 1
- 2
0
votes
1 answer
Unusure how to use curl to GET using parameters in header
Following this example.
When I send a command to the website as thus, it works and returns a token:
[idf@xxxx ~]$ curl -d "name=Ivan&email=idf@xxxcom&password=secret" -H "Content-Type: application/x-www-form-urlencoded" -X POST…

Ivan
- 299
- 1
- 4
- 13
0
votes
1 answer
cURL error 60 only on certain domains
I have several subdomains (virtual hosts) with Laravel (php framework). All of the projects have the same setup for sending mails via Mailgun. (Mailgun is a web service to which you send http requests with the contents of your emails, recipients,…

Devoted Enthusiast
- 101
- 1
0
votes
1 answer
Checking JBOSS version from a webapp URL
I have a web application URL and I am interested to know which JBOSS version it is running behind. How can I check that? Is it possible to check with curl?
Law
0
votes
0 answers
curl.error: (35, 'error reading X.509 key or certificate file')
I created a certificate using this:
openssl req -x509 -nodes -newkey rsa:4096 -keyout server.key -out server.crt -days 365
Then I run:
curl -l --tlsv1.2 -E server.crt -v https://test-as.sgx.trustedservices.intel.com:443/
* Trying…

Kumar Roshan Mehta
- 101
- 1
- 3
0
votes
4 answers
how to use quoting and escaping with bash
I was given a list of urls that are generating 404 errors as reported to us by google.
I can test a url with curl (from the command line ) like this:
curl -k --user-agent "Googlebot/2.1 (+http://www.google.com/bot.html)" https://MYURLHERE
which…

General Foch
- 111
- 1
- 2
0
votes
1 answer
Cannot cURL to NodeJS, but can access it from browser
I can access my test Node site (http://18.220.168.1:8888) from a browser just fine. However, when I attempt to cURL using PHP's cURL, I get:
Array
(
[curl_error] => Failed to connect to 18.220.168.1 port 8888: Connection refused
…

James
- 113
- 1
- 8
0
votes
2 answers
jq Cannot index errors
I am trying to use jq to get certain information from this endpoint
curl -s https://bittrex.com/api/v1.1/public/getmarketsummaries/ | jq '[.]'
and the output below
[
{
"success": true,
"message": "",
"result": [
{
…

uberrebu
- 503
- 6
- 17
- 36
0
votes
2 answers
How to add single quote inside of a bash variable?
I'm trying to make a call to an API and want to set some curl defaults into a single variable so when I make multiple calls, it uses the same set of 'defaults'.
For some reason, curl is not recognizing the -H 'Content-type: application/json' and…

Nate Fox
- 193
- 2
- 7
0
votes
1 answer
unable to find ecdh parameters
I'm working on an SLES 11 SP4 box and trying to connect to the host api.onedrive.com. Since a few days this connection is broken and returns with:
# curl https://api.onedrive.com
curl: (35) error:1408D13A:SSL routines:SSL3_GET_KEY_EXCHANGE:unable to…

Gottox
- 101
- 1
- 2
0
votes
1 answer
Looking for a web API which can test if a port is open
There are of course many ways to check if a port is open on a server (nmap, netcat, yougetsignal.com), however, I am curious if anyone knows of a website that has an API that would be callable from a tool such as curl. Ideally something along the…

DTSCode
- 103
- 1
- 5