View logs from a Web Service

1

I want to display an error if there is no user. I'm using a WebService [REST]

  

SDK Library

$find = $client->leads->getLeads([ 'email' => '[email protected]' ]);

if($find == false)
{
    echo "Not Found";
}

The above code did not work, could someone give me a light?

    
asked by anonymous 21.09.2016 / 14:24

0 answers