Questions tagged [curl]

curl is a data transfer utility used for a multitude of network=related applications (such as scraping data).

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

no outside internet access from machine

Running multiple ubuntu machines. everytime I curl something I get a curl(6) could not resolve host: www.google.com nslookup gives me a time out apt-get update fails with error: Temporary failure ...
2
votes
2answers
151 views

request mysql with curl

I have a mysql running. I can access it with mysql -h 127.0.0.1 -u root -P 8009 -p (password requested) Now I want to make requests with curl : curl 127.0.0.1:8009 ???? I need to pass the password ...
0
votes
0answers
29 views

How to recover from curl: (56) Send failure: Connection was reset?

I am using curl on Windows to download large files. However, the network connection is at times reset, and so I want to restart the download but unsure what parameters I should use. Currently doing: ...
0
votes
1answer
12 views

cURL error 60 in Symfonycasts tutorial

In Symfonycasts "API Platform: Serious RESTful APIs" Chapter 6 there is the cURL command curl -X GET "https://localhost:8000/api" -H "accept: application/ld+json". ...
0
votes
1answer
18 views

error in zsh with curl?

I want to run a curl command in zsh. curl -X GET "https://api.cloudflare.com/client/v4/zones/<ZONE>" \ -H "Content-Type:application/json" \ -H "Authorization: Bearer &...
1
vote
1answer
56 views

cURL - use specific response header as part of the filename

I am using this bash command to write the json http response body into a file: curl -s "http://some.domain.com/getSomeJson" | jq . | tee someJson.json; But what I really want is something ...
3
votes
1answer
604 views

git throws fatal: unable to access 'https://github.com/user/repo.git': Failed sending HTTP2 data

As of yesterday, after updating my Debian 10+bpo system, whenever I try git clone, git fetch, or any other git operation that relies on network, I get fatal: unable to access 'https://domain.example/...
1
vote
1answer
166 views

Homebrew cannot download from homebrew.bintray.com, gives a curl error: “no alternative certificate subject name matches target host name”

When I try to install or upgrade any package hosted on homebrew.bintray.com, I get the following error: curl: (60) SSL: no alternative certificate subject name matches target host name 'homebrew....
0
votes
0answers
25 views

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. But after create the instance and configure the Tinyproxy and then ...
0
votes
1answer
30 views

How to point R to the correct version of curl when upgrading nfrom R 3.6 to R 4.0?

Full disclosure, I have already posted this same question on SO, but on advice am trying this forum instead! I originally posted this issue several months ago in RStudio Community which helped narrow ...
0
votes
2answers
76 views

Unable to curl anything on my Mac curl: (7) Couldn't connect to server

All of the sudden I can't curl or run brew at all. I don't have any proxies enabled and I'm just running my personal mac on my home network. How can I debug/fix this issue? scutil -r google.com ...
1
vote
1answer
35 views

curl: continue and remote-header-name cannot be used together?

I am using curl with both -C - and --remote-name --remote-header-name. If the file exists, I get an error that the existing file cannot be overwritten. Is there a way to work around this? I think this ...
0
votes
0answers
25 views

Batch Downloading files from urls saved in multiple text files

I have multiple text files with urls saved in it. t001.txt,ty002.txt,a003.txt....more that 100. How I can batch download files from these multiple text files. I asked this question earlier here too. ...
0
votes
1answer
43 views

Find availible API endpoints, given root access to webserver

I have root access to a web/application server, which is located on my local LAN. I can see some API endpoints via logging on the server and hit them via curl. I would like to know all available ...
0
votes
2answers
60 views

Download multiple pdf files by using cmd (Windows Command Prompt)

I'm looking for a way to download multiple pdf by using a "single" command in cmd (e.g. from here). So far I learned how to download a single file by using: curl URL -o name.pdf EDIT: I'd ...
1
vote
1answer
46 views

Using CURL to send multipart/alternative email WITH encoder=quoted-printable. How?

Below is an example of how I currently send a multipart/alternative with CURL. I write this email in a text editor, save it to a file and use CURL to send the whole thing. To: "John Connor" &...
1
vote
0answers
15 views

Chrome cant find domain, curl can find domain

I am trying to make a request to a server in chrome. I keep getting a 404 error whenever I attempt to connect. When I use curl (which on Windows is an alias for Invoke-WebRequest) I correctly get a ...
0
votes
1answer
99 views

Curl - Couldn't resolve host on Ubuntu for Windows 10 but works on windows 10

I run a bash shell on Ubuntu from Windows 10. I was recently provisioned a new laptop and now find that I am unable to retrieve URL's with curl. However curl works when run directly on windows shell ...
0
votes
2answers
70 views

Downloading videos from Youtube doesn't work via `curl`

I have opened and downloaded via curl some mp4 file from Youtube via F12 hotkey (i.e. from developer menu) and have saved it into J.mp4 but it cannot be replayed. Someone knows Why ? It writes ...
0
votes
3answers
75 views

CURL name of the source file = name of the target file

I want to download a lot of files which have all similar names: xxx/1.jpg, xxx/2.jpg, xxx/3.jpg, and so on to C:/Brawa/. So I write: CURL https://example/xxx/[1-3].jpg -o C:/Brawa/#1.jpg Now I want ...
0
votes
1answer
98 views

PR_CONNECT_RESET_ERROR upon visiting addons.mozilla.org

Mozilla Firefox 84.0.2, Windows 10 No add-ons/extensions. Also happens on Microsoft Edge. Output of curl -vvvvv https://addons.mozilla.org/ : * Trying 44.239.254.46... * TCP_NODELAY set * Connected ...
1
vote
2answers
64 views

Get latest winrar installer with cURL

I'm tryng to always download the latest version of WinRAR in my language from the official site with cURL but can't figure out how the redirect link works. The site https://www.win-rar.com/...
0
votes
1answer
17 views

What are the dedicated command line options for `curl -X`?

In my curl man pages: -X, --request (...) Normally you don't need this option. All sorts of GET, HEAD, POST and PUT requests are rather invoked by using dedicated command line options. What are the ...
0
votes
0answers
26 views

How do I set connection timeout for each host with curl?

I found out today that the current version of curl has a weird connection timeout behavior. I found a record of the behavior dated back to at least 2014. The behavior I am referring to is how curl ...
0
votes
0answers
34 views

cURL works locally and hangs remotely

I'm trying to do a curl on the following site https://www.impfen-sh.de/. A naive curl www.impfen-sh.de does not work for me - it just hangs. I found out that when I mimic the chrome request I'll get a ...
1
vote
2answers
98 views

How to download a zip file using the command line

I would like to download a heavy compressed zip file from either dropbox or the UCF-Crime video dataset. The dataset's website points out these two links to get the dataset from : https://www.dropbox....
0
votes
1answer
18 views

How to curl data from website hosted by host from ssh client?

I didn't found an answer to my question and hope it's not an duplicate. I'm hosting a website on my windows host on localhost:23456. From my host PC I can curl data using: curl localhost:23456/topic1 ...
1
vote
1answer
49 views

GNU Parallel usage - how get currently passed string to parallel?

I am using GNU parallel and want to understand - how can I get the individual string passed to each parallel command? As an example, GNU Parallel documentation shows how to move files from the current ...
0
votes
1answer
106 views

A site getting 'too many redirects' response on curl but works fine in a browser (chrome)

I have a case when a URL opens fine in a browser but generates 'too many redirects' in curl. As an example below, a request using curl from my WSL2 instance which was taken from a bash script: curl -...
0
votes
0answers
19 views

How to get raw HTTP/2 headers in curl?

How can I retrieve the raw HTTP/2 request and response headers when using curl? Using -v to display them (for example) just shows the human-readable/parsed version.
0
votes
1answer
60 views

Issue parsing variable into curl to send JSON to splunk

I have a simple script here that I intend to run periodically: statsout=`docker stats --no-stream --format "{{json .}}"` while read line ; do echo "$line" curl -k &...
0
votes
0answers
15 views

curl not downloading files with %2B in the url [duplicate]

I am trying to download a file using curl in cmd. This is the command I have: curl https://media.forgecdn.net/files/3110/882/crookedcrooks-1.3.2%2B1.16.4.jar -O The output file is 1kb and only ...
0
votes
0answers
29 views

SSL Client authentication Certificate and Key , Why?

I'm studying the SSL Client authentication in a server to send specific rest API. I'm using cURL to send the request and I'm following the instruction from a company. I can send the request and ...
0
votes
0answers
30 views

{message:Unauthorized} response to cURL command when issued from Java code on WAS server but is successful from Linux command prompt

I have a cURL POST command that works fine with appropriate response when issued from the Linux Command prompt or from postman, but when the same command is issued programmatically from the Java code ...
4
votes
3answers
525 views

How to get weather via cmd in Windows 8.1 using cURL?

How do I get weather results using cURL, assigning a variable to it for later use? Something like: # This doesn't work and is only a reference for what I want: set mytemperature= curl www.yahoo.com/...
1
vote
1answer
266 views

How to display curl's individual Exit Status from multiple requests?

My question is simple - is there a way to display curl's individual Exit Status for each URL when curl is doing multiple requests? Let's imagine that I need to check sites a.com, b.com, c.com and see ...
3
votes
1answer
978 views

Docker containers facing curl: (60) SSL certificate error after using WSL2

I haven't had any problem before using the WSL2 based engine in Windows 10 Pro. when I have changed, not just the time is always set to Greenwich (when I create a new container) but also even if I set ...
0
votes
1answer
183 views

Replace server address by IP in curl

I mean to use the IP instead of the server name, to directly curl a file from http://.... I am under Msys2, Win 10 (that's why post here and not in askubuntu, e.g.), but I guess it would be be the ...
0
votes
1answer
648 views

TLS options for curl/wget

Is it possible to configure curl and/or wget to reject a DH key-exchange of less than or equal to 1024 bits. As a functional test, using curl/wget on https://dh1024.badssl.com/ should fail. I was ...
0
votes
0answers
50 views

Is it possible to send an email on remote (offline) machine through ssh?

I am monitoring some machines that aren't connected to the internet and can only be reached through a VPN. I currently connect to the VPN, and then use puTTY to ssh into the machines. I have a script ...
0
votes
0answers
24 views

EXE downloaded using cURL does not execute

I have trying to write a script that install Docker Desktop along with other software. Whenever I download Docker Desktop through cURL, and try to execute the program, Windows Pops Up with This App ...
0
votes
0answers
301 views

Resume file download with `Invoke-WebRequest` (like `curl -C -`)

I am converting some bash downloader scripts to PowerShell, and am using Invoke-WebRequest instead of curl to eliminate external dependencies (so curl for Windows is not an option). Most curl options ...
0
votes
1answer
69 views

How would I use Curl to download only URLs in a specific directory when using macOS?

This applies to https://www.gocaravanning.com/caravan-specs/Swift-Caravan-Data.html; I want to download all the years' linked to and only those pages. I know curl -O downloads the files. Would the ...
0
votes
1answer
40 views

How to download this kind of embedded video?

I wanted to download this video, i tried chrome dev-tool to isolate the url. Then searched it; but it showed me this why i cant download this video? is there any alternate method?
0
votes
1answer
23 views

How do I download and extract a tar in one command, while extracting only a single file to a specific location?

I'm trying to accomplish what it says in the title ... but for the life of me I can't figure out the magic invocation. The LLVM archive I am downloading contains the path clang+llvm-10.0.0-x86_64-...
1
vote
2answers
5k views

How do I send a digest auth request using curl?

While searching for a guide I found this example on Wikipedia GET /dir/index.html HTTP/1.0 Host: localhost Authorization: Digest username="Mufasa", realm="testrealm@host.com", ...
1
vote
3answers
953 views

Burp Suite can not intercept the wget and curl HTTP request

I use Burp Suite as proxy listen 127.0.0.1:8080, and I also set the HTTP Proxy as 127.0.0.1:8080. now Burp Suite can intercept all the browsers(eg. firefox, safari, chrome), and application(eg. ...
0
votes
2answers
134 views

Why UPNP gives me error 501 even thought the Curl request I sent is correct?

i am trying to use the UPNP on my router but keeps giving me the 501 error the command i am using curl "192.168.1.1:52869/control/igd/devinfo" --header "SOAPAction: urn:dslforum-org:...
0
votes
0answers
33 views

Login an Download via cURL

I have a little Problem with a new Site. On https://wsv.mitcom.online i want to login via cURL and download some CSV files. I already tried it with curl --user User:XXXX 'https://wsv.mitcom.online/...
0
votes
1answer
34 views

Curl command to push tgz file which contains spaces

I am trying to push one tgz package to Artifactory using CURL API but the file contains spaces which are not pushing it. i have below command Can anyone provide some suggestions ? curl -u admin:pwd -...

1
2 3 4 5
13