thephpleague / oauth2-client

Easy integration with OAuth 2.0 service providers.
http://oauth2-client.thephpleague.com
MIT License
3.64k stars 751 forks source link

how do i pass $_POST parameters with "getAuthenticatedRequest()"? #935

Open ivan006 opened 2 years ago

ivan006 commented 2 years ago

Seems I can only pass php://input payload

ivan006 commented 2 years ago

oh i see i must just do this

$body = http_build_query($articulation); $headers["content-type"] = 'application/x-www-form-urlencoded';