Category "curl"

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

curl: (35) SSL connect error, NSS error -5938

Hi I am sending an get request using curl but getting error: curl: NSS error -5938, (35) SSL connect error Server detail : Centos, version 6.7 curl 'https://g

Getting this error while installing DFX on my mac "curl: (60) SSL certificate problem: certificate has expired"

this is what i wrote to install it DFX_VERSION=0.9.3 sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" I have node 16.14.0 installed but whenever i tr

Request working in curl but not in postman

This request working with curl curl 'http://www.express.com/browse/gadgets/store-change-location-more.jsp?changelocation=true&catelogRefId=75116576' -H 'Co