php guzzle client x www form urlencoded

Solutions on MaxInterview for php guzzle client x www form urlencoded by the best coders in the world

showing results for - "php guzzle client x www form urlencoded"
Jana
09 Oct 2020
1$res = $client->post('http://example.co.uk/auth/token', [
2    'form_params' => [
3        'client_id' => 'SOMEID',
4        'client_secret' => '9999jjjj67Y0LBLq8CbftgfdreehYEI=',
5        'grant_type' => 'client_credentials'
6    ]
7]);
8