what to use instead of the http()? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: what to use instead of the http()? (/showthread.php?tid=80506) |
what to use instead of the http()? - richb201 - 11-09-2021 There seems to be no function http() on my system. What can I use instead of http()? $response = http($metadata->token_endpoint, [ 'grant_type' => 'authorization_code', 'code' => $_GET['code'], 'redirect_uri' => $redirect_uri, 'client_id' => $client_id, 'client_secret' => $client_secret, ]); RE: what to use instead of the http()? - richb201 - 11-09-2021 Turns out that the http() is a function that was left out of the code. |