Category "curl"

cURL same server from a inside docker container

I saw a lot of similar problem but not exactly like mine... I have a classic architecture, A server with docker, a stack with Traefik to dispatch request, and f

cURL request with 'User-Agent' header works fine but doesnt work in node with axios/fetch/https

When i make a curl request to a website for webscraping with the header "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0" it wo

Curl using Nuget on Visual Studio 2022 doesn't work

I've been trying to get Curl to work with VS for weeks. I've read a ton of other tutorials, guides, installation instructions and other materials and just... No

How to use Zabbix's CurlHttpRequest() in JavaScript?

I am learning Zabbix. I would like to use CurlHttpRequest() and all these functions: I can't find the documentation (what's going on inside). I would like to r

Curl request to batch or windows command line [closed]

I would like to create a github repository using a command line/batch script or whatever on windows. This request works on https://reqbin.com/

When getting response from Curl request, I get the correct response, but when using response as var in next request, it returns 0 Why?

I am making a curl post request to create an order header... This returns and order number $orderno. When I echo the response, I am getting the order number as

http POST request: curl and postman both succeeded but resttemplate gives 400 Bad Request

I'm trying to convert a curl (also proved working in postman) query to java resttemplate: $ curl -X POST https://my.server/apiv2/login -k -H 'Accept: applicati

I can't get an issue token with Postman or cURL

I'm trying to connect to ActiveCollab API but it is impossible. I tried with Postman and cURL but I'm obtain the same result: { "type": "ValueError", "messa

I can’t get Contentful connected to my site

So, I've only ever used WordPress, but I decided to build my site from scratch so I'm free to do whatever I want with my site. I'm a new developer and I just he

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