Retrieve Body Information
Closed this issue · 2 comments
ALAxHxC commented
Hello , how I can't retrieve the only the body response?
I don't find how to do in your Documentation.
Kaijiro commented
Hey,
You can access the response's body by doing just this :
$api = new RestClient([
'base_url' => "http://vimeo.com/api/v2",
'format' => "php"
]);
$result = $api->get("tcdent/info"); // GET http://vimeo.com/api/v2/tcdent/info.php
var_dump($result->response);
tcdent commented
Thanks for the contribution Kaijiro! ✌🏻️😎