skip to Main Content

Laravel – How can I retry a pool HTTP request based on certain status codes?

I'm making a set of HTTP requests using Laravel's Http::pool like so: $responses = Http::pool(fn(Pool $pool) => $requests->map(fn($r) => $pool->as($r->id)->myMacro()->post('myUrl', [ ... ]) )); myMacro() is defined in AppServiceProvider like so: PendingRequest::macro('myMacro', function () { return PendingRequest::withHeaders([ 'Content-Type' => 'application/json',…

VIEW QUESTION

SPA API MS Azure SSO

I have an angular frontend and a laravel api backend on different domains using username/password login with jwt token. I have integrated Microsoft Azure AD login with oauth using the following: I have registered the app in Azure, specified my…

VIEW QUESTION
Back To Top
Search