Simple php script which allows to call the api in a more cleanly way
Download request.php file and place it somewhere amongst your project files and include it in your code :D
Request::get($url, $data);
Request::post($url, $data);
Request::put($url, $data);
Request::delete($url, $data);