<?php
require("curl.class.php");
$urlencode = urlencode('evert ulises german soto');
$options = array(
"url" => "http://localhost/api_employees/user/1/".$urlencode,
"type" => "GET",
"return_transfer" => "1"
);
$obj = new wArLeY_cURL($options);
$resp = $obj->Execute();
echo $obj->getError();
echo $resp;
?>
|