Level 102
Why not use the http client?
$response = Http::withToken('channel access token')->post('somerandomurl')
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I need help with curl and php... In API which I need to use I have example of CURL request: curl -X GET -H 'Authorization: Bearer {channel access token}' somerandomurl
But I dont know how I would write this in guzzle.
Why not use the http client?
$response = Http::withToken('channel access token')->post('somerandomurl')
Please or to participate in this conversation.