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
1 vote
0 answers
44 views

Why is cURL returning just two square brackets with this request?

This curl request returns empty square brackets []: curl "https://www.bathnes.gov.uk/NodeAPI/geoDataLookup/getGeoJSON/-2.8530120849609375/51.263633525637/-2.126541137695313/51.456574106519724/11&...
DaveF's user avatar
  • 37
0 votes
0 answers
25 views

With Insomnia, is there a way of going back to a previous request?

For clarification, I'm talking about the REST/URL entry app Insomnia, a Postman alternative, or a way of doing cURL requests easily. So for my simple REST request needs, this is just pretty much what ...
mike rodent's user avatar
0 votes
0 answers
19 views

Airflow statsd exporter does not respond

I have airflow instance running on my server. There is statsd-exporter running in docker. However curl localhost:<binded_port>/metrics returns curl: (56) Recv failure: Connection reset by peer. ...
greeger 228's user avatar
0 votes
0 answers
86 views

Curl Vs Spring RestTemplate.exchange - huge performance diffrence

Under what circumstances a Restful call made with curl would be much faster than Spring's RestTemplate I have to use Spring's RestTemplate's exchange methods as I am sending a JWT token as an Http ...
user721025's user avatar
1 vote
0 answers
47 views

curl sftp uploads empty file without error

How can I solve or better troubleshoot the following problem? I need to upload a text file using curl via sftp to a remote server. Authentication works, no error returned, but the file is created ...
Anton Yaniuk's user avatar
0 votes
0 answers
55 views

curl not working on an RHEL8 Server

I have 3 running RHEL 8 VM's as Servers connected to my Company's network and for Setup purposes I need to download a script using curl. The VM's are properly connected to the internet for example I ...
Oberwalder Sven's user avatar
0 votes
0 answers
23 views

Installing cURL properly on OpenWRT Chaos Calmer (15.05.1) for ar71xx TP-LINK MR3020

I installed cURL like this on OpenWRT, as I also hadn't enough disk space available on the router, but when I tried to run it, it said: # curl curl: can't load library 'libmbedtls.so.9' Okay, so just ...
Semanual's user avatar
0 votes
2 answers
117 views

Download from github using curl and batch file

I'm currently writing a script in which I need to download the latest version of yt-dlp.exe from Github. Since the script will need to work on multiple machines, I opted to use curl as the downloader. ...
Flaver-D's user avatar
  • 153
0 votes
2 answers
47 views

How can I run an exe from stdout?

I have a .exe file hosted as a release on a Github project, it is my project so I know this file is secure as I have compiled it. https://github.com/USERNAME/PROJECT/releases/latest/download/TORUN.exe ...
ty246's user avatar
  • 21
0 votes
1 answer
105 views

How can I access an intranet web site in the browser with command line?

From internet, I have access via ssh to the Machine_A and it can access the intranet. So, I can access all intranet sites with command line like: ssh Machine_A -f 'curl -s http://192.168.0.51' > ...
Rodrigo's user avatar
  • 101
0 votes
0 answers
138 views

Proton VPN is not installing due to CURL error! Why?

I have Fedora 38 and I want to install protonVPN. I followed the guide and downloaded the respective rpm package but when I try to install it or update dnf I receive this error: [CODE]ProtonVPN Fedora ...
naarter's user avatar
0 votes
0 answers
152 views

Sometimes cURL unable to get local issuer certificate

I use the curl library for https access. Set the CURLOPT_CAINFO parameter to specify the certificate file. Sometimes normal communication can be achieved,but sometimes cURL raises an error message [...
Abner Sun's user avatar
0 votes
1 answer
213 views

curl only works with -u but not with -n

I can't get where is the error This works like a charm: ~$ curl -u '[email protected]:123' imaps://imap.mail.yahoo.com:993 -X 'STATUS INBOX (MESSAGES)' But this don't: ~$ curl -n imaps://imap.mail.yahoo....
user avatar
-1 votes
1 answer
356 views

Trying to download multiple files with curl, files does not exist error

im having issues with curl again i am trying to understand https://unix.stackexchange.com/questions/243134/curl-download-multiple-files-with-brace-syntax but i do not understand it whatsoever the ...
NeatPace's user avatar
0 votes
0 answers
197 views

Curl allows application/x-www-form-urlencoded without actually encoding, is it valid?

curl -X POST [::1]:1024 -d 你好 allows to send non-ASCII without percent encoding, is it valid?
Flan1335's user avatar
0 votes
1 answer
343 views

How do i download all files of a certain filetype (.txt) in an FTP server with cURL?

I am trying to download all .txt files in an ftp server. The main usage or mission is to use wildcards, no specific file names. Download a singular file works with the following command: curl --user ...
NeatPace's user avatar
0 votes
1 answer
991 views

curl not providing GET results

I'm new to using curl. I have Windows 10 on a 64-bit system. I have successfully installed curl (I could check the version in the command line) and it did give a response to an API call once. But 95% ...
ystar's user avatar
  • 15
1 vote
1 answer
121 views

Error while using curl to ping application

When I was trying to use curl in the terminal to ping the application and I am getting an error as in attached image. Can anyone please explain me why am I getting this error and how to solve it. This ...
Hasitha Gorrepati's user avatar
1 vote
1 answer
52 views

Get Processing abandoned The video could not be processed error after use curl in google colab

I uploaded my video with mp4 format to Google Colab disk storage. then replaced with Google Console access token and run following curl command in a cell: !curl -X POST -i "https://www.googleapis....
mitisani lisinani's user avatar
0 votes
0 answers
86 views

termux upload files and directories onto a nas using bash

Using Termux (linux like) I successfully created a routine that monitors a directory and move the incoming files (actually I copy and then delete it) into disk attached to my router (netgear R6230). ...
Movielord's user avatar
0 votes
0 answers
32 views

accessing one website from my internal network

I have a very strange situation on all of my entire local network this website can be ping(ed) from all PCs but can not be accessed. The curl command result with openvpn you can see first in the photo ...
Adil Haimoura's user avatar
0 votes
0 answers
487 views

curl and http2: how to test http2 support at command line?

I'm running curl --http2 -XGET "http://localhost:9090/index.html" where localhost:9090 is a local server that logs the details of the HTTP request. Looking at those logs, I see: 2023/03/23 ...
Paul Sanwald's user avatar
0 votes
1 answer
1k views

Is it possible to remove cURL command?

I am a new Tier2, Tier3 is requesting I attempt to write a script to remove the curl command from student PC's, is this possible? Should I suggest disabling curl via AD group policy?
John's user avatar
  • 1
1 vote
1 answer
2k views

How to add selfsigned certificate to bundle in git-bash?

Attempting to update git on a windows machine in git-bash with git update-git-for-windows fails with a message from curl: curl: (60) SSL certificate problem: self signed certificate in certificate ...
Human's user avatar
  • 511
1 vote
1 answer
260 views

FTPS conncetion to Fritzbox NAS fails - due to EPSV / PAS port change?

I am using my FRITZ!Box 3490 with a connected USB HDD as a NAS server. I have configured a certain port (32753) for FTP communication. To ensure a static static servername (u**********u.myfritz.net), ...
Marco's user avatar
  • 11
0 votes
0 answers
20 views

My curl command is not ending .What is happenning? [duplicate]

I executed the following curl command : [root]# curl -g -k -X GET -H "Content-Type: application/json" -H "X-IWD-Authorization : <header>" --cacert <ca-cert-file> -o ...
Vasanth Raghavan's user avatar
2 votes
1 answer
231 views

How to print o ouput txt request result from curl command

we used this curl command (Windows 10) to check conection status to URls: curl -v https://techdocs.broadcom.com 2>> C:\Temp\ResultadaoURL.txt, and this result: * Trying 104.18.32.150:443... * ...
juvenal's user avatar
  • 53
0 votes
0 answers
39 views

Curl command - output is different

when I run this command in the UI its returning 32 ids: http://csc2cxn00001736.cloud.kp.org:6080/api/v1/application/exchange/pickup?offset=0&orderBy=name while when I run this curl command in the ...
Racha's user avatar
  • 1
0 votes
0 answers
83 views

Curl webserver running on OSX host from OSX running in VMware Fusion

What I have / am trying to do: Host machine running MacOS Ventura 13.0.1. Guest "machine" also running MacOS Ventura 13.0.1 on VMware Fusion Player 13.0.0. Webserver running on host machine ...
Andrew Cheong's user avatar
1 vote
1 answer
4k views

How to tell curl to use one client cert from the Windows Cert Store?

Disclaimer: I am new to curl. When I go to https://server.cryptomix.com/secure/ with Chrome, I am asked by Chrome to choose one client cert among the few ones I currently have in my Windows Cert Store....
manuell's user avatar
  • 63
0 votes
1 answer
262 views

How Would I Query ICANN Domain Lookup Information Through Windows Command CURL?

I want to query ICANN domain lookup through Windows command (cmd.exe). I found the ICANN API https://opendata.icann.org/api/v2/console but after skimming through the documentation, I did not find ...
u20210512's user avatar
  • 109
1 vote
1 answer
1k views

How to send post request to a discord webhook via CMD

I have been trying to send post requests to a discord webhook for around an hour now but can't seem to figure out how to do it. I want to send this: { "content": null, "...
MeLikeFish's user avatar
2 votes
0 answers
274 views

wget and curl switch default to background task

When I use wget and curl from bash, it automatically switches to a background task by default, without me having provided the required arguments. This is making it hard to use these commands in ...
Nick Durcholz's user avatar
2 votes
1 answer
195 views

Is there a way to Grep multiple HTML pages on a domain without downloading the files?

I essentially want to Ctrl+F multiple sites in a browser. I have a range of URLs on a domain https://exampleblog.com/posts/{1-50} I want to grep all of the pages under /posts/ at once. They are each ...
dcannistraro's user avatar
0 votes
0 answers
134 views

Curl using Logstash Keystore values

I would like to curl to our Elastic cluster using the logstash keystore. Right now we can curl with username/password. Our keystore is setup and functional but I do not know what the syntax would be ...
Nathan's user avatar
  • 1
1 vote
0 answers
210 views

Curl downloads files with html body

The issue is when using curl to download a file that is readable like .ini or .txt it downloads the file but when inspecting its content it has a html body with the original file's code embedded ...
Digitas Merero's user avatar
1 vote
0 answers
130 views

Check the nodes behind the load balancer with netcat

i have a Load Balancer and some servers behind the balancer, when i use netcat to check the connectivity with: nc -zv x.x.x.x xxxx but this only checks that the balancer side connectivity is active ...
user avatar
0 votes
0 answers
551 views

curl slow, but not slow if called by strace

I enconter a problem today on a CentOS 6 machine. Every time I execute a curl command to fetch a remote web page, it is very slow (about 5.x seconds). IIRC it is not that slow in last month on the ...
meatfoot's user avatar
1 vote
0 answers
3k views

curl: (35) error:0A00010B:SSL routines::wrong version number

I am using curl 7.85.0 under Windows 10 x64 and try to connect to a FTPS Filezilla server 1.5.1 using TLS V1.3 in passive mode. The server listen on port 635 on another Win10 computer. The command ...
fpiette's user avatar
  • 176
0 votes
1 answer
262 views

curl not installed on DD-WRT version 3.0-r49567

Router: D-link DIR869 Firmware: DD-WRT v3.0-r49567 std (07/27/22) Trying to use curl, but getting error when trying to run a script: sh: eval: line 0: curl: not found How do I install curl, and why ...
stefanw1337's user avatar
0 votes
1 answer
1k views

How to make cURL use a proxy without adding options?

Conclusion: To correct, there's no problem in Windows version cURL. Besides, one should set https_proxy if they want to proxy HTTPS traffic (or better all_proxy if no need to set different proxies ...
Wilderness Ranger's user avatar
2 votes
0 answers
5k views

Why am I getting "Connection Refused" when using "host.docker.internal" to hit the host's localhost?

I have the following... version: "3.9" services: proxy: extra_hosts: - "host.docker.internal:host-gateway" environment: - UI_URL=http://host.docker.internal:...
Jackie's user avatar
  • 817
0 votes
0 answers
1k views

Powershell equivalent to curl --resolve

I need to use powershell to check the https response code of a call where the DNS entry isn't setup or points at an IP that cannot be reached. The command is run on the same server as the IIS hosting ...
galmok's user avatar
  • 101
0 votes
2 answers
406 views

windows command line utility to download from both http:// and file:// with progress

is there a windows command line utility that supports downloading from both http:// and file:// with progress? already tried: powershell Invoke-WebRequest : not working on windows 7 powershell (New-...
geek175's user avatar
  • 131
0 votes
1 answer
978 views

How to deal with curl error 2 caused by "Failed getting banner"?

I have four Raspberry Pies all running curl 7.64.0. Each Pi uploads a webcam image to the same host every two minutes. That's 30 images per hour for four Pies. This is all done with simple bash shell ...
Buadhai's user avatar
  • 111
1 vote
1 answer
897 views

Curl fetches Plain Text Shell Script, but Browser Pulls HTML

I was considering installing Deno, and the installation guide instructs to issue this command for Mac/Linux Shell: curl -fsSL https://deno.land/x/install/install.sh | sh Being careful not to blindly ...
Marc's user avatar
  • 131
6 votes
3 answers
3k views

How to curl case-insensitive

If I use this link to install docker-compose, I get Not Found error: [root@hostname ~]# curl -L "https://github.com/docker/compose/releases/download/2.9.0/docker-compose-$(uname -s)-$(uname -m)&...
Saeed's user avatar
  • 381
0 votes
0 answers
60 views

Curl falls back to tlsV1

we have a serious issue with Curl falling back to tlsv1 even though it forced to use v1.3 curl -vvv --tlsv1.3 --tls-max 1.3 --resolve <domain>:443 i tried 6 times to reach the dst and one ...
user7111746's user avatar
4 votes
1 answer
2k views

How to dowload files with original timestamp?

Many web sites ask us to login before downloading real contents files, and restrict us to download files from it with a cli program such as wget or curl. So we must download files with a browser, ...
Leon's user avatar
  • 213
-1 votes
1 answer
1k views

-P option on wget does not work on windows 11

If I run: !wget -P ./arcface_model https://github.com/neuralchen/SimSwap/releases/download/1.0/arcface_checkpoint.tar from my jupyter notebook on windows11 It does not recognize !wget, even though ...
kevbuntu's user avatar
  • 109

1
2 3 4 5
15