are there any detailed examples of using "GET" to read instances of an enitity that matches filters?


I am able to POST (create). The following is an example that is successful : $response = $client->request('POST', 'Lead', ['firstName' => 'Test','lastName' => 'Hello']);


But how can I GET the where the firstName matches the input client enters?

$response = $client->request('GET', 'Lead', ['firstName' => 'Test','lastName' => 'Hello']);