Skip to main content
0 votes
1 answer
38 views

403-response when doing a python request?

i try to do a get request using the follwing code - (i have taken the get response from this site: https://www.marinetraffic.com/en/ais/home/centerx:-15.7/centery:25.1/zoom:3 copied it with right ...
Rapid1898's user avatar
  • 1,249
-4 votes
1 answer
36 views

how to run curl command using php file with headers and data [duplicate]

I am new in PHP. So please guide me how can use this curl command in my PHP File curl -X 'POST' 'https://www.fynamics.co.in/api/einvoice/enhanced/authentication' -H 'accept: application/json' -H '...
Rakesh's user avatar
  • 1
0 votes
1 answer
55 views

java java.net.http.HttpClient returns http status 403 while curl works fine

I'm trying to fetch a json string from a (GraphQL ?) server. The input is a json string + POST request and the ouput is a json document. When using curl, it works (well , let's be honest it works if ...
Pierre's user avatar
  • 35.3k
1 vote
0 answers
64 views

Update z/OS Password Using PHP cURL Module

I'm trying to change a password on a z/OS mainframe that I make an FTPS connection to. Working with a legacy codebase and I'm trying to get rid of the exec calls to cURL. You'll notice all the ...
Haskell McRavin's user avatar
1 vote
1 answer
45 views

Status code in httr2 when uploading a file that already exists

I'm using the R package httr2 to upload files to a secure environment. If a file already exists, I'd like to receive a warning. Instead, I get a response status of 200 which, means "OK". ...
ckx's user avatar
  • 110
0 votes
0 answers
28 views

Replicating the deferred body handler of java http client in curl

I have this Java code. It sends a http request to the server and based on certain conditions, and it reads the streaming response body. import java.io.InputStream; import java.net.URI; import java.net....
user51's user avatar
  • 10.3k
0 votes
1 answer
53 views

Php curl get Acces denied error. What is wrong in my code?

I have test curl command on Reqbin.com and get correct result. curl execed on reqbin return exactly result But when I run php curl code, It return Access Denied error. Result when run php curl code ...
Ngạo Thiên's user avatar
0 votes
0 answers
23 views

In CMake why does find_package search for compiled libraries?

I have a dependency, Libcurl, and that has a dependency on MBedTLS library. So in my CMake file I add curl with add_subdirectory. And in the Curl CMake file it does: if(CURL_USE_MBEDTLS) ...
Zebrafish's user avatar
  • 15.2k
-1 votes
0 answers
27 views

Best way to link a dependency of a dependency?

I want to use libcurl with the MBedTLS ssl backend. And what I thought I'd do is: add_subdirectory(${EXTERNAL_DEPENDENCIES_DIR}/ExternalDeps/mbedtls/mbedtls ${CMAKE_CURRENT_BINARY_DIR}/MBEDTLS) And ...
Zebrafish's user avatar
  • 15.2k
0 votes
1 answer
24 views

How to initiate a new Bluesky DM (Direct Message) with an unknown user via API?

I couldn’t find documentation on how to send a message to someone I’ve never chatted with before using the Bluesky app. I have referred to many websites and documents I am expecting to chat with ...
Ramesh K R's user avatar
0 votes
1 answer
29 views

Posting to API with cURL works while Python requests fails

I have a cURL command that works when uploading a file while the equivalent Python requests fails. Here is the cURL command curl -X POST "http://<DOMAIN>/polarion/rest/v1/projects/<...
barneyAgumble's user avatar
1 vote
1 answer
189 views

how to download a zipped file from https://www2.census.gov within R [closed]

I'm curious if there's a straightforward way to download this data file within an R session? This zipped file downloads without any issues in both firefox and chrome for me: https://www2.census.gov/...
Anthony Damico's user avatar
0 votes
0 answers
9 views

Unable to connect to quetz server with curl command

I tried install and connect to my local Quetz server (launch with Docker image retrieve in dockerhub mambaorg repo) with this simple command : `curl http://localhost:8000 But the only response was &...
David's user avatar
  • 1
0 votes
0 answers
27 views

How to use Matrix API with curl

When trying to check the availability of usernames at the matrix.org server using the Matrix protocol with the following command curl -H "Content-Type: application/json" -X GET "https://...
LiterallyCode's user avatar
0 votes
0 answers
33 views

Building docker image of keycloak with curl using 2 stage process hangs

dnf hangs when doing a two stage build of keycloak to include curl on running scriplet glibc-2.34-125.el9_5.3.x86_64. This works properly on a Windows machine but fails on AWS Linux 2 server. I have ...
Timothy Vogel's user avatar

15 30 50 per page
1
2 3 4 5
2929