Skip to main content

All Questions

Tagged with
1 vote
1 answer
44 views

cURL error(28) in laravel when accessing internal php files

I am trying to do a POST request to my classless personal-api.php file located at http:ip.address:port\public\api\personal\personal-api.php but it returns a cURL error(28) I am using Http facade to ...
bitmarksss's user avatar
1 vote
0 answers
63 views

Issue with Multiple Laravel API Requests via cURL on Nginx in Laragon [duplicate]

I'm trying to configure Nginx with PHP 7.4 NTS in Laragon and I'm encountering an issue with making (probably concurrent?) API requests. My Setup: Operating System: Windows (using Laragon) Web Server:...
Filbert Umbawa's user avatar
0 votes
0 answers
54 views

Laravel: The cURL request was retried 3 times and did not succeed

I am using Laravel's Http facade to call APIs. Since I have to call multiple APIs, I have created a job and called the APIs from the job. This is working in my local environmental, but when tested in ...
Shabeersha Salim's user avatar
0 votes
2 answers
181 views

Api consumption for internal laravel api is getting failed -cURL error 28: Connection timeout

This is the error message I am getting, when hitting the url http://localhost:8000/test cURL error 6: Could not resolve host: api (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for api/test ...
Milon's user avatar
  • 1
1 vote
1 answer
1k views

Laravel cURL error 35: Recv failure: Connection reset by peer on HTTP request

I'm encountering an issue in my Laravel application where a POST request to an external API (Telegram Bot API) is failing with the following error: cURL error 35: Recv failure: Connection reset by ...
Amir's user avatar
  • 13
0 votes
0 answers
50 views

Curl http request time out

In http request it working fine (local environment), but when I change to cloudflare Full (strict), it return error of time out. I try to add my ssl certificate config, but still not working! nginx/...
Show More's user avatar
0 votes
1 answer
46 views

CURL - Sending PDF failing with Laravel

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
2 votes
1 answer
326 views

SSL Certificate Error While Downloading Packages from GitHub with cURL Body

I'm encountering an SSL certificate error while trying to download Laravel packages using Composer. Here’s the error message I receive: SSL: no alternative certificate subject name matches target host ...
ipassionforu's user avatar
0 votes
1 answer
540 views

API post request working in PostMan, but not in Laravel Application

I am attempting to submit a list of domain aliases to an API endpoint, and as the title says, it works perfectly in PostMan.. but when I try to add it to my Laravel application, I am getting a "...
John Hubler's user avatar
0 votes
1 answer
364 views

Laravel Curl error: operation aborted by callback [duplicate]

I have a problem when uploading files. The error description is "Curl error: operation aborted by callback". I would be very grateful if you could help me solve this problem. public function ...
Pendok Laravel's user avatar
1 vote
1 answer
1k views

Download failure of Laravel framework due to curl error 28

I'm encountering some issues while installing Laravel 11. For more details, please refer to this photo (https://i.sstatic.net/KCAHW.png).I've attempted various solutions to resolve the problem, ...
Haikal Nst's user avatar
0 votes
0 answers
76 views

Requests from referer <empty> are blocked."

Requests from referer "" are blocked." I'm using YouTube API v3 search in my laravel application. $params = array( "part" => "snippet", &...
Shekhar Ghimire's user avatar
0 votes
0 answers
54 views

API Call to your own Laravel Project

I am struggling to make an API call to my project. Can someone assist me here? This is the command I am entering: curl.exe -X PUT http://hsk.local/api/v1/applicants/1 \ -H "Content-Type: ...
lolich's user avatar
  • 23
0 votes
1 answer
132 views

How to send curl kind of request with Laravel HTTP client

I want to send the below request with the Laravel HTTP client, how can we send it? API endpoint accepts the below request, curl -X 'POST' 'https://api.upstox.com/v2/login/authorization/token' \ -H '...
rjcode's user avatar
  • 1,347
0 votes
0 answers
2k views

CODEXSHAPER - LARAVEL - cURL Error: HTTP/2 stream 0 was not closed cleanly: Unknown error code (err 1)

I am making a PUT of an item through CODEXSHAPER but I am receiving this return: cURL Error: HTTP/2 stream 0 was not closed cleanly: Unknown error code (err 1) From what I checked CURL is ...
outzo's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
38