Category "curl"

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

--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

Custom API and cunsuming in php?

I want to write Web services(REST) and Consuming using Curl in php. $books = array( "java"=>"222", "php"=>"333", "c"=>"111",

Django Rest Framework Postman Token Authentication

I am using Django Rest Framework Token authentication and if i do curl http://localhost:8000/api/v1/users/?format=json -H 'Authorization: Token 0a813fdcd3f8846d

IPV6 Curl POST request

In IPV6 how to build CURL POST http request with the IPV6 address and port number.Any kind of thread will be appreciated. Tried to build the request as below