Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >
Filter by
Sorted by
Tagged with
1 vote
0 answers
127 views

I'm trying to replicate the ab stress tool (ApacheBench) in PHP to have more control depending on the content of the result. However, I'm getting weird results when trying to make requests through ...
Krzysztof Dabrowski's user avatar
0 votes
1 answer
72 views

I'm integrating Google Drive with my PHP application. Uploading files via the API works perfectly — I can upload files using the API. However, when I upload files manually in browser to the same ...
Jakub Hopciaś's user avatar
1 vote
0 answers
47 views

I have a LinkedIn app shared by my client. Using my org ID in /v2/ugcPosts, I get results correctly. But when I switch to the client’s organization ID, I get an empty elements array even though total &...
Urmish Solanki 's user avatar
1 vote
1 answer
59 views

How to get Referrer value from cURL URL? I am trying something like this but not working. $curldomain = "https://www.example.com/"; $ch = curl_init($curldomain); // Set cURL options ...
JK Sandhiya's user avatar
1 vote
1 answer
122 views

Let say, my website is https://www.example.com and i am using cURL to pull https://stackoverflow.com I am using cURL HTTP Header to spoof referer value like this curl_setopt($ch, CURLOPT_HTTPHEADER, ['...
Stellan Coder's user avatar
0 votes
0 answers
82 views

Google Maps discontinued Directions and DistanceMatrix a couple of weeks ago and I am trying to adapt CURL code in PHP to switch over to the Routes API. There does not seem to yet be any handy pre-...
D Yates's user avatar
  • 45
0 votes
0 answers
117 views

I am integrating PhonePe's Auto-Debit API (/v3/recurring/debit/init) but keep receiving the following error response: { "status": "error", "message": "Please ...
Eagleminds Technologies's user avatar
1 vote
1 answer
45 views

function 3rd_party(){ $cookie_path = __DIR__ . '/cookies.txt'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'xyz.com'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); ...
Pradeep's user avatar
  • 11
0 votes
0 answers
29 views

First time trying to do a jwt authentication. I’m sending username and password from my website to another webapp by curl_php, receiving back a json array with a jwt among more data. I have to ...
max's user avatar
  • 13
1 vote
1 answer
429 views

Having found out that only about 20% of my website pages (and not including the home page) are indexed by Bing (where Google indexes them all happily), I have been trying the IndexNow functionality ...
MandyShaw's user avatar
  • 1,165
1 vote
0 answers
49 views

I am finding it surprisingly difficult to post an image that I have manipulated using GD image to an API without first saving it to disk. It seems like there must be some way to post the GD image ...
user6631314's user avatar
  • 2,050
1 vote
1 answer
79 views

I am using the following cURL in PHP for an API request to obtain a video file as recommended by the api provider. That is the extent of their documentation. $curl = curl_init($url); curl_setopt($...
user6631314's user avatar
  • 2,050
0 votes
0 answers
63 views

-> The below code is based on php Curl. $curl = curl_init(); // API Endpoint $url = 'https://api.bybit.com/fht/compliance/tax/v3/private/registertime'; curl_setopt_array($curl, array( CURLOPT_URL =...
Nileshkumar's user avatar
0 votes
0 answers
83 views

Before we get started, if we could bypass the whole you "need to update" please? Thank you. I would like to install the PHP cURL extension on a Debian server (Jessie) running PHP 7.0.33 # ...
omega1's user avatar
  • 1,072
2 votes
0 answers
62 views

From the documentation for the curl_multi_select: Blocks the execution of the script until a cURL handle attached to the cURL multi handle would be able to make progress on the next call to ...
Mike's user avatar
  • 81
1 vote
1 answer
78 views

In the last few days/weeks, a webservice call from php curl to a service located in OVH has started receiving a "302" HTTP Code response I thought the calling server was blacklisted. But the ...
VinceSax Maury's user avatar
1 vote
1 answer
108 views

I try to send photo via Telegram bot, so I wrote the code (a part of it): $img_path = "https://www.example.com/path/to/file.jpg"; $method = "sendPhoto"; $arrayQuery = array( &...
Sashik259's user avatar
-1 votes
1 answer
35 views

I am trying to make an HTTPS request using cURL in PHP 5.6 (I am forced to use 5.6 due to my environment), but I keep encountering the following error: error:140770FC:SSL routines:...
One Service's user avatar
2 votes
2 answers
53 views

With below code curl_setopt($ch, CURLOPT_NOPROGRESS, 0); curl_setopt($ch, CURLOPT_PROGRESSFUNCTION, 'progress_upload'); progress_upload function will be triggered many times in a second but ...
Max Amini's user avatar
0 votes
0 answers
45 views

My old project code is saving curl cookie to temporary file as below curl_setopt($ch, CURLOPT_COOKIEJAR, dir_tmp); curl_setopt($ch, CURLOPT_COOKIEFILE, dir_tmp); it is running on 1 ec2 Now need to ...
TruongGa's user avatar
0 votes
0 answers
3k views

I opened vps from azure ubuntu 20.04 and installed cyberpanel here, then I opened all incoming and outgoing ports in azure, I installed script, this script sends curl with proxy but I get error "...
hummorrrflov's user avatar
1 vote
0 answers
236 views

I'm trying to access an url which has SSL certification and use https using php curl inside a Windows Server 2016 enviroment. The curl options in the php code are set as follows: $curl = curl_init(); ...
GiuGent's user avatar
  • 11
0 votes
0 answers
136 views

Our HTML/Javascript client sends a request to our PHP proxy Class and method to invoke the communication with the Sumup API. The Sumup Developer Documentation appears to require three steps: Use Curl ...
Webcliq's user avatar
  • 24
0 votes
1 answer
2k views

I'm running a local development environment on Windows using XAMPP with multiple PHP versions. I manually switch between the PHP versions by setting the correct paths in httpd-xampp.conf and updating ...
Shane's user avatar
  • 5,191
0 votes
1 answer
51 views

I'm sending a PDF file via CURL in Laravel: <?php namespace App\Http\Controllers\EmailSender; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Mail\Mailable;...
Erbi Silva's user avatar
1 vote
1 answer
858 views

I can't get PHP8.3 (Win32-vs16-x64) running under Apache 2.4.53 (win64-VS16) to load php_curl, when Apache starts this error is logged: PHP Warning: PHP Startup: Unable to load dynamic library 'curl' ...
toby1kenobi's user avatar
  • 1,701
0 votes
0 answers
65 views

I'm working in a Cake PHP 2 project running PHP 7.4. I'm trying to make a POST request via CURL to a server. I'm getting some odd behaviour with CURLOPT_POSTFIELDS. I need to send my data as an ...
Ryan H's user avatar
  • 3,063
0 votes
0 answers
46 views

I am trying to get a list of deliveries using this GET call: https://datalink.hconnect.digital/api-products/basic#get-https-//api.hconnect.digital/ecs/v2/deliveries Here is a picture if the link is ...
Pascal's user avatar
  • 1
0 votes
1 answer
3k views

I have been trying to call the parkingfee/calculate API using cURL PHP and I am able to get the 200 status code which means it reaches the server. But somehow the JSON data is not showing up even ...
abraham's user avatar
  • 21
1 vote
1 answer
867 views

Context I have a php website. Keycloak is used for auth. This part works fine. I now try to save user related state to keycloak directly via its REST API (to not need another user db). The Problem ...
andymel's user avatar
  • 6,048
0 votes
1 answer
644 views

I am setting up SSO for logins to my website from Microsoft login. When the user logs in to Microsoft and redirected back to my website, my site then requests and receives an access token. it works ...
user3521590's user avatar
1 vote
0 answers
30 views

I’ve been trying to make a web proxy using PHP and I always come to the same problem. When the user gets redirected on the proxied page or the page changes, it applies it to my proxy's site. localhost:...
Kaj's user avatar
  • 21
0 votes
0 answers
39 views

I am trying to save cookie data when calling a page using CURL. When I run the same code on Server 1 then it works and if I run it on Server 2 then it doesn't work. Server 1 Detail PHP Version 7.2.24-...
Shah's user avatar
  • 1
0 votes
0 answers
35 views

I want to display the information I received from the fake api using the curl method using foreach, and I get the following error: Trying to access array offset on value of type int <?php $...
Reza Movahhedy Nasab's user avatar
0 votes
2 answers
238 views

My Laravel API is running on 127:0.0.1:8000. Now I want to call to this API Route::get('/task/{task_id}', [TaskDetailsController::class, 'index']); from my web controller This is the function where I ...
Arifin Tuhin's user avatar
1 vote
2 answers
387 views

I am encountering an issue with DirectAdmin's CustomBuild tool. When I attempt to build PHP using the built-in functionality in DirectAdmin's control panel, I receive the following error message: ...
Mehran's user avatar
  • 351
1 vote
0 answers
2k views

I'm encountering an issue loading cURL into my PHP environment on Windows. Here's what I've attempted: I installed Apache on my server (Windows server 2016) and PHP 8.3.6. However, when I run php -m ...
executable's user avatar
  • 3,610
1 vote
1 answer
474 views

i'm trying to checkout a SUMUP payment and get allways: *{"title":"Bad Request","status":400,"detail":"Required request body is missing: public org....
Hannes Ledl's user avatar
1 vote
0 answers
159 views

I've tried making many proxies with PHP but they all end up with either headers not loading properly or images not loading properly. I'm very new to PHP and I've looked up how to make one but for my ...
RandomWebDev's user avatar
1 vote
0 answers
89 views

I'm trying to query a database from Google AppSheet via cURL. It works 100% in Postman (returns results), but when I copy the code into PHP it returns a NULL set (connects, but doesn't return results)....
Max G's user avatar
  • 11
2 votes
1 answer
818 views

This has been driving me crazy now for a while. When I updated my Windows PHP install from v8.2.11 to v8.2.12 (back in October) the cUrl extension stopped working. Previous versions had been working ...
plowe's user avatar
  • 86
1 vote
0 answers
50 views

I'm implementing oauth2 authorisation for our application, using keycloak to authenticate users. I successfully obtain a 'code' from keycloak. I submit this back to keycloak's rest api, to obtain a ...
ruth's user avatar
  • 13
1 vote
0 answers
28 views

According to the official shopify documentation , "https://shopify.dev/docs/api/usage/pagination-rest#make-a-request-for-paginated-data" there will be a link to the next page in the response ...
sam707's user avatar
  • 85
1 vote
0 answers
135 views

Im using Selenium by WebDriver in PHP script. As selenium browser I have Firefox configurated on my docker container. I need to add proxy header with some values to set proxy settings according to my ...
Don Don Don's user avatar
0 votes
0 answers
28 views

how to send/Post json data from public network to private network in Codeignitor framework ? i I want to post json data from Public network to private network using php (codeignitor Framework). while ...
Sampathkumar's user avatar
0 votes
0 answers
108 views

I need to do 12 requests per second to the API on Twitch. I'm currently doing this with 3 processes, each doing 4 lookups per second but sequencially. I thought I'd give curl_multi a try so only 1 ...
Zoe Ballz's user avatar
-1 votes
1 answer
149 views

In PHP, I'm trying to get the download link from my private repo with Github API. I have refer to this doc: https://docs.github.com/en/rest/repos/contents?apiVersion=2022-11-28#download-a-repository-...
user23296141's user avatar
1 vote
1 answer
760 views

I recently installed AlmaLinux 9 with LAMP and everything works correctly except cURL. I have verified cURL is installed and enabled. When I run the following code I receive $url = 'http://example.com/...
James's user avatar
  • 262
0 votes
0 answers
114 views

I work with the priceHubble api. When I make a request I get a 403 error with the following result: { "message": "Forbidden" } Here's my php code: (address taken at random in ...
Jlair's user avatar
  • 24
0 votes
1 answer
385 views

I am working on a web site where users can control their thermostat, but I'm having difficulty with the schedule part. I can display it, but when I create a new schedule the temperature desired is not ...
Louis B's user avatar

1
2 3 4 5
27