Welcome Guest, Not a member yet? Register   Sign In
what to use instead of the http()?
#1

(This post was last modified: 11-09-2021, 03:59 PM by richb201.)

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,
    ]);
proof that an old dog can learn new tricks
Reply
#2

Turns out that the http() is a function that was left out of the code.
proof that an old dog can learn new tricks
Reply




Theme © iAndrew 2016 - Forum software by © MyBB