Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function validateContact($uuid){
- try {
- $response = \Httpful\Request::post('https://sandbox.api.yay.com/dom/contact/'.$uuid.'/validate')
- ->addHeaders(
- array(
- 'X-Auth-Reseller' => '',
- 'X-Auth-User' => 'sandbox_admin',
- 'X-Auth-Password' => ''
- ))
- ->send();
- return $response;
- } catch (\Httpful\Exception\ConnectionErrorException $e) {
- printf($e);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement