Category "curl"

Curl says SSL certificate is expired when it is not

When using curl on my server to access my other servers, I get this response: curl: (60) SSL certificate problem: certificate has expired More details here: htt

How to extract value from nested cURL

I'm trying to extract the data from (php)cURL response that I received from the external api. I received the response like below. {"result":"OK","data":{"body":

Google Cloud Platform Postman Only Calls Function Through Main Google Account And Not Service Account

I made a service account in GCP designed to run a cloud function. This is the service account, complete with json keys that I downloaded. Then I made this cloud

Multiple process curl command for urls to output to individual files

I am attempting to curl multiple urls in a bash command. Eventually I will be curling a large number of Urls so I am using xargs to use multiple processes to sp

How to rename file using in PHP Using CURL?

I need to rename a file in the server FTPS. I'm using a useful class FTP_Implicit_SSL I have found on the Internet (I need also CURL). I can list directories, u

Google Apps Script cUrl POST Request

I am trying to pull data from an API from https://app.scrapingant.com/ using Google Apps Script. The documentation is here: https://docs.scrapingant.com/request

415 Unsupported Media Type from POST

I need to create a POST call with Spring/Webclient which does work fine with curl. POSTDATA="{\"subject\":\"CN=test\",\"type\": \"ssh\",\"usage\":\"login\",\"va

curl authentication works with `--netrc` but not `--user`

With curl 7.74.0, the command $ curl -b ~/.cookies -c ~/.cookies -L --user 'USERNAME:PASSWORD' https://daac.ornl.gov/daacdata/daymet/Daymet_V4_Stn_Level_CrossVa

Where does CloudFlare detect web and terminal requests?! On equal terms

My problem is opening sites on CloudFlare in CLI. I do not mean when there is a challenge and I do not want to solve the challenge. Consider this site as an ex

Notification in CURL command

i am running one curl command to generate token. This command i am running on commandline. Is there any way to have notification (in email or like prompt or pop

Google Drive API 403 error from wget/curl, but not from browser [closed]

I'm attempting to download a large file from Google Drive using wget or curl. I've set up a Drive API key to bypass the large file warning and

How to use curl -Z (--parallel) effectively?

I need to download thousands of files with curl. I know how to parallelize with xargs -Pn (or gnu parallel) but I've just discovered curl itself can parallelize

FOXPRO: SMS using Curl to Post in a Adress with Headers, and use in FOXPRO

I install a SMS Gateway in a phone with android. If a use the CURL in command line, i can send the messages perfectly. I try to transform in Foxpro way, and i h

PHP CURLOPT_WRITEFUNCTION returns headers in body

When i include curl_setopt($ch, CURLOPT_WRITEFUNCTION, 'curl_write_flush'), i get headers inserted into the $body. But without CURLOPT_WRITEFUNCTION everything

Error cURL AbuseIPDB through Powershell Command - Cannot bind parameter 'Headers'

I'd like to ask about cURL command for AbuseIPDB, as stated in https://docs.abuseipdb.com/#check-endpoint So I tried to run the command with the following Power

Error cURL AbuseIPDB through Powershell Command - Cannot bind parameter 'Headers'

I'd like to ask about cURL command for AbuseIPDB, as stated in https://docs.abuseipdb.com/#check-endpoint So I tried to run the command with the following Power

How do I outtput Azure cognitive services Text to speech (TTS) to MP3 file? Keep getting

I am using Azure Cognitive Services with text to speech (tts) in combination with PHP and Curl and while I am getting output, I am not getting anything usable a

curl: (6) Could not resolve host: summary

I have something wrong in my curl command and after a couple of tries I can't figure it out. The full error log: curl: (6) Could not resolve host: summary curl:

curl: (6) Could not resolve host: summary

I have something wrong in my curl command and after a couple of tries I can't figure it out. The full error log: curl: (6) Could not resolve host: summary curl:

PHP cURL (SSL certificate problem: self signed certificate in certificate chain)

When making a php cURL request in production, I am getting the following error: Problem with SSL certificate: self-signed certificate in the certificate chain.