enter code here
enter code here` $response = Http::withHeaders($headers)->post($URL, $postdata);
enter code here
enter code here` $response = Http::withHeaders($headers)->post($URL, $postdata);
Just save the response in session, example:
Session::put('sessionName', $response);
And if you want to call it you can use :
Session::get('sessionName');