close
Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
Filter by
Sorted by
Tagged with
Filter by Employee ID
-4 votes
0 answers
31 views

I'm working with an embedded Linux AP that exposes a UBUS JSON-RPC API (uhttpd/rpcd). The login request is: curl -v -k \ -H "Content-Type: application/json" \ -d '{"id":1,"...
0 votes
0 answers
49 views

I have an API endpoint in AWS that requires a Host header to match my Target Group. I have added that header to Postman but requests via the Postman app are falling through to my default Target Group. ...
Best practices
0 votes
4 replies
117 views

have a .NET application running in Docker and need to configure container health checks. Currently I see a few options: Option 1 Install curl in the runtime image. Use Docker HEALTHCHECK with a ...
1 vote
1 answer
153 views

SOLVED. The working code with all the error checking built in is: function web_search_with_langsearch($query) { $LANGSEARCH_KEY = "sk-nnnnnnnnnnnnnnnnnnnnnn"; $ENDPOINT = "https://api....
1 vote
1 answer
148 views

I am trying to retrieve time from the Bybit exchange. Curl works as expected, but my code in Rust works only with HTTP/1.0, HTTP/1.1 is getting complete silence and HTTP/2 is getting an error from ...
Advice
0 votes
3 replies
115 views

new to this. I'm looking to measure the TTFB of an http proxy to an endpoint, but having a hard time figuring out if my code is fetching those speeds accurately. My goal is to maximize accuracy while ...
0 votes
1 answer
141 views

I am trying to read an XSLX file with Curl in PHP. I can read text files just fine, but every time I try it with a binary file, it returns zero bytes, but does not appear to throw an error. Here is ...
1 vote
1 answer
216 views

I have a php shell script that runs at scheduled intervals via launchd. The script has a 2 minute php timeout, but I understand that time spend in curl_exec( ) doesn't count towards that. But I also ...
0 votes
0 answers
96 views

I am trying to upload a document to dust (https://eu.dust.tt) and cannot get it to work. Here is what I have tried and the responses I get: First I tried to list documents already uploaded. I used: ...
3 votes
1 answer
154 views

Here is my code (fake data of course): <?php error_reporting(E_ALL); ini_set('display_errors', '1'); $curl = curl_init(); $file = fopen("x.x", 'w'); curl_setopt($curl, CURLOPT_URL, &...
0 votes
2 answers
122 views

In my C# code, I'm using libcurl.dll and using CURLINFO_TLS_SSL_PTR = CURLINFO_PTR + 45 to determine which TLS version is being negotiated, I'm not sure if this constant is correct. Is the code below ...
0 votes
1 answer
59 views

I’m looking for guidance from SuiteScript / JavaScript experts regarding a multipart/form-data file upload from NetSuite. I have a Map/Reduce script that generates a ZIP file using N/compress.  This ...
0 votes
1 answer
166 views

I have a process that was working as expected until I migrated my dev environment from WampServer to Laragon. Now I am using Laragon v8.2.3 on Windows 10 Pro with: php-8.3.16 [TS] Nginx 1.27.3 ...
0 votes
1 answer
176 views

I am using a curl request for my backend php class to access google's computeRoute. when I run a curl request with a string it works (as below). However dynamically generate the values with an array ...
1 vote
1 answer
117 views

I am making cURL request using GuzzleHttp PHP library that returns me a huge list of data I later process. Because of the size and response time, I tried to optimize my side by using stream option ...

15 30 50 per page
1
2 3 4 5
2915