Category "curl"

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

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

curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number

When I try to connect to any server (e.g. google.com) using curl (or libcurl) I get the error message: curl: (35) error:1408F10B:SSL routines:ssl3_get_recor

curl returning 301 error after migrating to https

We recently migrated to SSL, and the site works great with the exception of one function. The function uses curl in the code below to execute an api located on

List all the transactional email activity with Sendinblue

I want to show the result of my transactional email activity page with the sendinblue api (CURL Method), with a table and columns : Email , Subject, events (del