Is this any possible to call post,put,get,delete methods directly on new Google Api php client library . For example in Zend gdata provide get(URL), Post(URL,content body) I need to call like this

有帮助吗?

解决方案

Use Google_Http_Request:

$request = new Google_Http_Request($url, $method, $headers, $postBody);
$client->execute($request);
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top