Category "curl"

Error: Payfort Apple Pay service response error Failed to execute service?

I integrated Apple Pay service of Payfort using PHP but got error in response. Failed to execute service have applied all possible solutions including regenerat

How to post multiple images to mastodon using api with bash curl

I'm starting to learn to use rest api via bash curl by writing a simple mastodon bot. I can attach multiple images using curl https://example.com/api/v1/statuse

Git API call on Github account on government Organization

Trying to creae a remote repo regular github account with below command $ curl -u 'USER':'TOKEN' https://api.github.com/user/repos -d '{"name":"REPO"}' this wo

How to convert Curl SSL and auth request to Python code

I would like to convert my request written in Curl to Python. I'm ignoring ssl becouse this certificate is signed by me. I am not sure if I have correctly repla

How do I check all the redirects of a URL and get it as an array?

I'm making a site which checks all the URL redirects, just like wheregoes.com. This site doesn't provide any APIs. I have to get all redirects, then select the

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