Questions tagged [curl]

cURL is a library and command-line tool for transferring data using various protocols such as HTTP, FTP and SFTP. The cURL project produces two products, libcurl and curl. This tag covers all usages of cURL, regardless of which cURL product is used.

Filter by
Sorted by
Tagged with
-2 votes
0 answers
12 views

LinkedIn API, giving a 403 error even with the token

I tried every possible way to bring user data from my LinkedIn account to the API but it's constantly giving me a 403 error, I've tried 10 different ways. It always reports permission problems, but my ...
Geraldo Donald's user avatar
2 votes
0 answers
53 views

Unable to get curl local issuer certificate

I am trying to allow people to curl a script from my website. My website uses tls. But when I try to curl from my website from somewhere else, I get error: curl: (60) SSL certificate problem: unable ...
john-jones's user avatar
  • 7,539
1 vote
1 answer
36 views

How to check if an FTP file exists

I am trying to check if a file exists on my ftp server. I've tried using the packages httr and httr2 but haven't gotten it to work. Below are my attempts: my_file_url <- "sftp://my_server/...
Lefkios Paikousis's user avatar
-1 votes
1 answer
15 views

I need to download the csv file from URL in unix korn shell using curl command

There is one URL which will download the csv file, I have to use it in Unix shell script using 'curl' command. Because the already existing script was using the same script, Since the URL has been ...
ImSahil's user avatar
  • 65
0 votes
0 answers
11 views

TikTok Business API - always 40131 Authorization code is expired

https://business-api.tiktok.com/portal/docs?id=1766037914914818&rid=uz955smt6w Account API Authorization url returns code successfully. https://business-api.tiktok.com/portal/auth?app_id=*&...
WhoLetTheDogsOut's user avatar
0 votes
2 answers
49 views

Using cURL & OpenSSL to thoroughly test certificate validity of all websites

I have a large number of websites I need to test the SSL/TLS setups for. Some tests I need to perform are: Is the server cert expired? Is old encryption (i.e. SSLv2, SSLv3, TLS 1.0) being used? Is ...
Eric Smith's user avatar
0 votes
0 answers
21 views

cannot use curl in AWS CodeBuild project: exit status 127 command not found

It happens in post_build phase. Tried to install first, but was already installed. Tried to export PATH to include /usr/bin (where curl is installed) [Container] 2023/11/28 16:44:10.462047 Running ...
kingOfClubs686's user avatar
-1 votes
0 answers
21 views

how to let continue curl --config <file> on error for next entry [closed]

How can i let 'curl' continue with a batch job given with --config <file> on error? i have a single entry that results in curl: (3) nested brace in URL position ## And it aborts - even though ...
Frank Bergemann's user avatar
-1 votes
0 answers
27 views

I'm getting "Enable JavaScript and cookies to continue" to a post request

I'm trying to get the data from a post request but it always returns a 403 status code and "Enable JavaScript and cookies to continue" The request should return a JSON object here is the ...
Hosam Gamal's user avatar
-1 votes
0 answers
44 views

cannot find -lcurl in Visual Studio Code

I am trying to use the external library Curl in Visual Studio Code with the C++ language. And encountering the following problem:enter image description here By the way, this comes into my Debug ...
W.K's user avatar
  • 1
1 vote
0 answers
82 views

convert curl certificate command to Delphi Indy http.post

I'm trying to convert this request: POST /oauth/token HTTPS/1.1 Host: psd2.mtls.sandbox.apis.op.fi Content-Type: application/x-www-form-urlencoded grant_type=client_credentials&scope=accounts&...
Juha's user avatar
  • 11
-1 votes
0 answers
18 views

Trying to install pi-hole on my raspberry pi 4, but I keep getting the error: curl: (6) Could not resolve host: install.pi-hole.net

Command I am running: curl -sSL https://install.pi-hole.net | bash Error I am getting: curl: (6) Could not resolve host: install.pi-hole.net I tried rebooting and changed my dns to Google's (8.8.8.8)....
user22996440's user avatar
0 votes
0 answers
12 views

Reference encrypted password in XLDeploy curl request

I want to use XLDeploy to - as part of a deployment - perform a curl request. For this I intend to use advcmd.Command The request required authorization though. So I would like to place the username ...
BFR's user avatar
  • 105
-1 votes
1 answer
40 views

issue uploading media files on /media whatsapp cloud api

I am trying to upload a file through WhatsApp Cloud API so, I am using a simple cURL request to do it. public function meta_upload_media2($token,$phonesid,$tipo,$archivo,$filename) { ...
Luis Lara's user avatar
0 votes
0 answers
10 views

etrade curl login using windows cmd to curl

etrade api login my current command line from cmd.exe C:\etrade\bin\curl.exe -S -s -v -H "Content-Type: application/json" --data {\"USER\":\"userid\", \"PASSWORD\&...
cbrandenburg's user avatar
-3 votes
0 answers
35 views

Using Instagram APIs

i.instagram/api/v1/web_profile_info/?username= Using PHP, how can we download the Instagram user's profile picture as jpg by sending a request here and decoding the data we receive as json? Please ...
razor's user avatar
  • 1
-1 votes
0 answers
37 views

how to pass access token url in oauth2 flow with curl

i follow the authentication flow with oauth2.0. As in postman i can enter the AUTH URL to start the process with a webpage and then authenticate on this external webpage with username and password. I ...
Frank's user avatar
  • 1
0 votes
0 answers
24 views

C++ Linking Problem with CURL, OpenSSL and AWS SDK S3 using conan, cmake

I am having trouble in linking two libraries, CURL, OpenSSL and AWS SDK S3, simultaneously. But the thing is I need to manage another libraries with conan 2.0. I shrinked CMakeLists.txt and Example ...
TyeolRik's user avatar
  • 454
4 votes
1 answer
51 views

cURL and Postman HTTP POST work, but Golang request fails with Status 400

I'm trying to send GooglePay token in a JSON via HTTP POST. The request works fine on cURL and Postman, but when I try with a Go HTTP request, the server complains that the data is in invalid format ...
Awernx's user avatar
  • 51
0 votes
0 answers
27 views

Problem with Apache PHP CURL and CURLAUTH_NEGOTIATE authentication against EWS Exchange Webservice

I would like to establish a connection to the Microsoft Exchange Web Service (EWS) using PHP and CURL. The authentication method should be negotiate. Using NTLM is not desirable for security reasons, ...
Wescam's user avatar
  • 1
-1 votes
0 answers
36 views

Image is loading on browsers but not in Postman

I have this image hosted in eurowings.com https://www.eurowings.com/content/dam/ew-general-assets/performance-marketing/DTM.jpg When I try to access it on browser, it works and I can see the image in ...
Murat Colyaran's user avatar
0 votes
1 answer
64 views

Error parsing JSON output from curl with jq in MAKEFILE

I'm trying to parse a JSON response from Github's API inside a MAKE file but I'm unable to do it. I can easily make it work in pure bash but when I try to do it in bash from within a MAKE file I get ...
RooTShell's user avatar
0 votes
0 answers
49 views

PHP curl does not encode as brotli

Response: �0D �/����|⎄-�v�s������Fx}v�5���I��N�$����j��u Ll�Y��Q�����ݢ��C��Z� `E�$h�SBA4�d��v�4P%��2`�o����Z�+57o�T��ދ����{xU������g?i��g-xbV�v���=����ߟ�Ã��-WiJܭ�X�-�� �';mV�MM��eb�n �kU8ʡ�o-�`&4�...
Codeigniter's user avatar
0 votes
1 answer
59 views

curl version error in RStudio Workbench running on Ubuntu 20.04

When restarting R (4.3.1) in a project inside RStudio Workbench running on Ubuntu 20.04 , I get the following error message: Restarting R session... Project... $ /usr/local/bin/curl --version -------...
Greg's user avatar
  • 89
0 votes
1 answer
27 views

How to manage channel's playlists using YouTube Data API?

I currently have a private Google (that includes YouTube) account with a YouTube channel. I want to create and generally manage playlists on channel account (instead of private account/channel). When ...
Anonymous's user avatar
0 votes
1 answer
31 views

PHP Curl Unrecognized content encoding type. libcurl understands deflate, gzip content encodings

I am faced with this problem when I send a request to this API that I bought via Rapid API. Error : Unrecognized content encoding type. libcurl understands deflate, gzip content encodings. $curl = ...
Codeigniter's user avatar
-1 votes
0 answers
21 views

curl send firebase push notification for all user

curl --location 'https://fcm.googleapis.com/fcm/send' \ --header 'Authorization: key=YOUR_FIREBASE_SERVER_KEY' \ --header 'Content-Type: application/json' \ --data '{ "notification": { ...
zillion test's user avatar
0 votes
1 answer
43 views

RestAssured - Provide the contenttype of body as raw text without quotes

I need to pass raw text as body without quotes in my rest assured Sample code used: String command = "dumpsys package com.android.chrome | grep versionName" request.pathParam("deviceId&...
user2416212's user avatar
0 votes
0 answers
13 views

how to integrate a invoice with API keys in nowpayments wallet?

I have a HTML website with products, and I want to sell them, so as I don't have the backend of my website, I would like to add just the button of payment, so the customers so can pay and after ...
Diana's user avatar
  • 1
0 votes
1 answer
35 views

AWS - bash - sigv4 - SignatureDoesNotMatch - The request signature we calculated does not match the signature you provided

I'm encountering an issue with an AWS S3 request where the error message indicates a signature mismatch: "The request signature we calculated does not match the signature you provided." I've ...
smootherbug's user avatar
0 votes
0 answers
33 views

Azure Java Web App get JSONObject from curl request

I am building a Java web app (JDK 17, Jakarta EE, Tomcat 10) and am using org.json to make a curl request to the PetFinder API. When I deploy a .war file to my Azure Web App I get the Exception ...
Marc Hauschildt's user avatar
0 votes
0 answers
30 views

Codeigniter 4 curlrequest get includes content-length

According to the RFC, including the content-length header with a GET request is non compliant, and some services are starting to reject get requests that include a content-length header or are ...
Craig Jacobs's user avatar
1 vote
0 answers
48 views

Trouble Sending Elementor Form Data via cURL in WordPress

I'm adapting the code to retrieve information from the Elementor form. I've referred to the documentation, and I have an example code snippet. function send_custom_webhook( $record, $handler ) { $...
Diane Rendel's user avatar
1 vote
1 answer
42 views

php curl proxy options

Is it possible to apply a proxy configuration to all curl requests (including Symphony HttpBrowser and Guzzle)? If such a possibility exists, how can this be done? I tried to register an alias for ...
Валерий Новожилов's user avatar
0 votes
0 answers
6 views

GraphQL schema From Leon how to get Flight crew Duty status

I try to fetch flight schedule details from Leon using GraphQL.I need crew member duty status such as {start,continous,end} for each crew in flight.I have checked CrewPanelActivities Object.But crew ...
Anu's user avatar
  • 21
0 votes
0 answers
334 views

CURL Error: "URL rejected: Bad hostname" When executing API POST

I have a batch script designed to start a Windows service on a remote server, which is a website. The script then checks every 10 seconds if the website is up using CURL. Once the website is up, it ...
executable's user avatar
  • 3,395
1 vote
0 answers
19 views

MODX, curl and the anonymous sessions

Mainly my problem is that when I make a request with cURL including session cookie with random value the modx session starts with the value of that cookie. Which is confusing me a lot. modx session ...
user1398498's user avatar
0 votes
0 answers
24 views

Why OpenSSL is not detected when configuring curl?

I install the curl on the ubuntu 18.04 using cross complier(arm-linux-gnueabihf) The OpenSSL detection error was occurred when I configure curl like the following ./configure --prefix=/etc/...
andy's user avatar
  • 107
1 vote
0 answers
28 views

ORDS: Error 401--Unauthorized From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1: 10.4.2 401 Unauthorized

w.r.t. Oracle REST Data Services (ORDS) : Authentication And microservices-the-easy-way-with-ords-and-micronaut-part-1 Using PLSQL, Through below code on SQL developer when tried, I received ORA-20001:...
Anand Jagtap's user avatar
0 votes
1 answer
47 views

PHP/CURL freezing server

I have php CURL code with runs through an ajax script. The code works well, no issues, but I have noticed, that when the code is executed, the whole server stops/freezes until the CURL is complete. ...
Ben's user avatar
  • 59
0 votes
0 answers
12 views

CURL request not working anymore with cert

I have a command in CURL that was working find since the beggining of the year. This week it started to failed. This is the command curl -X POST --url https://destination/login -H 'Content-Type: ...
Faabass's user avatar
  • 1,404
-1 votes
1 answer
27 views

Could a CURL call has no '--request' param?

What is the difference between following two requests. Second one has no '--request' param, what does it mean? First call returns auth token, second one returns metadata of an object with certain id ...
Volodymyr Lytvyn's user avatar
0 votes
1 answer
57 views

Download universal artifact from azure devops using cURL

I would like to download universal/UPack artifact from Azure devops artifactory. I am aware I can use Azure CLI but that means requirement to have Azure CLI installed, which is the very last resort. I ...
MartinZ's user avatar
  • 65
1 vote
1 answer
28 views

Sending push notifications to multiple devices FCM API V1

Could you please tell me if it is possible to send cloud message with curl to multiple devices in Firebase Cloud Messaging API (V1) as it was in Cloud Messaging API (Legacy)? { "message":{...
Vans's user avatar
  • 351
0 votes
1 answer
29 views

How to test podman socket HTTP used by testcontainers

In a Testcontainers (Java) context, I've noticed that Testcontainers fail to communicate with podman for some reason and hangs. Here are the debug logs I can see: [info] o.t.d....
Gaël J's user avatar
  • 12.3k
0 votes
1 answer
57 views

PHP Generator object not receiving data from processed external JSON API

I have been converting a Joomla 3-based CLI script to a Joomla 4/5-based API script using this resource as reference. The script retrieves news posts from an external API and adds them to Joomla as ...
Mike Hermary's user avatar
0 votes
1 answer
76 views

504 Gateway Time-out error when making cURL request in WordPress

I'm encountering a 504 Gateway Time-out error when attempting to make a cURL request in a WordPress environment. I've included the relevant code below: function welkvoxapi() { $curl = curl_init(); ...
Diane Rendel's user avatar
0 votes
0 answers
22 views

How to update Confluence pages using API

I am trying to update a confluence page using confluence server API. I followed their documentation and I keep getting an error My command line: curl -u username:password-X PUT -H 'Content-Type: ...
ahmad's user avatar
  • 11
-2 votes
0 answers
44 views

C++ cURL Lib with Flaresolver result is 403

Hello, I am currently working on a web scraping project using C++. For this project, I am using Flaresolver as a proxy to bypass Cloudflare’s anti-bot measures. Despite reading multiple articles and ...
Silence's user avatar
  • 41
-1 votes
1 answer
51 views

How to insert JSON from file into POST request for CURL

I am trying to send POST request to server using curl. I am trying to add string from file in body of request, but something is wrong. Example of request: curl -X POST -H "Content-Type: ...
somepage's user avatar

1
2 3 4 5
879