문제

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