Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

guzzle get request

$client = new Client([(['base_uri' => 'https://reqres.in/']);

$response = $client->request('GET', '/api/users?page=1');
        
echo $response->getBody();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #guzzle #request
ADD COMMENT
Topic
Name
5+2 =