Closed mglaman closed 5 months ago
$response = $this->doRequest(Request::create($uri, 'POST', $formData)); if ($followRedirect && $response->getStatusCode() === Response::HTTP_SEE_OTHER) { $request = Request::create((string) $response->headers->get('Location')); return $this->doRequest($request); }
The doRequest needs to wrap a try/catch and take that exception response.
doRequest
The
doRequest
needs to wrap a try/catch and take that exception response.