Category "curl"

Getting "curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)"

I have a Django app which returns a large JSON while calling an API. The problem is when I'm requesting the data, the data itself is truncated which is crashing

PHP - CURL using HTTPS [closed]

I am trying to get Json Data from a https url. I have tested and working code to do just this for http but I am yet to find a working version

curl with Kerberos error: option --negotiate: the installed libcurl version doesn't support this

I would like to use curl with Kerberos curl --negotiate '<SOME_ULR>' or curl --negotiate -u : '<SOME_ULR>' But I got the error: curl: option

Azure : How to i get the Refresh Token ? using Curl when the Output of the connection only gives Access Token

I am unable to get Refresh Token using Azure Service Principal (using Client ID & Client Secret) Kindly help me in getting the refresh token via CURL and h

How to download protected files from onedrive using WGET

I need to download an excel spreadsheet from Onedrive shared location to our unix server using WGET or CURL. I am able to download an un-protected link without

CURL GET Raw File from BitBucket Repository with security

I am trying to get a raw file from a Bitbucket repository using curl with the following commands (I have tried many but I am including the last two): curl -L

How to make a curl request with environmental variables

I am currently trying to execute the following command: STAMP="4 day ago" YESTERDAY=`date +%Y.%m.%d -d "$STAMP"` #echo "test" #echo "TEST" '"$YESTERDAY"' DAYS

php curl requesting twice

I have a limit of 25 requests/min from PUBGs official API. For some reason instead of it requesting twice for each search its using up 4 requests. I can't figur

Curl file download using ftp protocol fail with RETR response 550

I am trying to download a file from the server to specific path on client, when I run the following curl command I am getting error: curl -u test:test "ftp:

Converting a CURL into python script

I am trying to convert a Curl POST request into a python script, and i am not getting the desired output, please let me know what i am doing wrong here. CURL r

How to use Curl to submit URLs İn Bulk With İndexNow API?

You know, with the indexnow api, we can now index pages instantly in bing and yandex search engines. I prepared a file like in the documentation(https://www.ind

Using curl in a bash script and getting curl: (3) Illegal characters found in URL

So I have a very simple bash script that is curl'ing to an auth server for a header. The header url is written to a var and then used in the next curl call. Whe

What's the net::ERR_HTTP2_PROTOCOL_ERROR about?

I'm currently working on a website, which triggers a net::ERR_HTTP2_PROTOCOL_ERROR 200 error on Google Chrome. I'm not sure exactly what can provoke this error,

cUrl vs Invoke-WebRequest

Can anybody explain to me why cUrl (the real cUrl) works but Invoke-WebRequest doesn’t? Same machine, same variables. To me it looks like they should both

Curl cant resolve host with kubernetes dns

Hello I have a problem in kubernetes. When I do a nslookup from a pod I get correct ip: ~ kubectl -n exampleNamespace exec -it pod/curl -- nslookup exampleServi

Nexus artifact download using CURL

I'm trying to download an artifact uploaded to nexus using CURL. But I'm unable to get it downloaded. The below command execution from command prompt doesn't do

Why am I getting this FedEx API error 'The given grant_type is not supported. Please modify your request and try again'

I'm using this PHP code: $service_url = 'https://apis-sandbox.fedex.com/oauth/token'; $curl = curl_init($service_url); $curl_post_data = array( "co

Failed to decode JSON object: Expecting value: line 1 column 1 (char 0)

This question is kind of duplicate but I could not find a solution to it. When I am calling the flask app and passing the JSON data, I am getting the error: "F

How to access Unix Domain Sockets from the command line?

Reading a Unix Domain Socket file using Python is similar to an ordinary TCP socket: >>> import socket >>> import sys >>> >>&g

--data-urlencode curl to Node.js request or express module

I am trying to transform this curl command curl '<url>' -X POST \ --data-urlencode 'To=<phone>' \ --data-urlencode 'From=<phone>' \ --da