2011年2月24日星期四

[fw-gdata] Bad request

Please advi
ce...
This code below returns

[code:protected] => 400
[message:protected] => Bad Request

Cannot figure out how to do it, xxx is correct in my code :)

$client = Zend_Gdata_ClientLogin::getHttpClient($email, $password,
Zend_Gdata_Gapps::AUTH_SERVICE_NAME);
$service = new Zend_Gdata_Gapps($client, $domain);

$get =
"https://apps-apis.google.com/a/feeds/emailsettings/2.0/xxx.com/xxx/";

$client->setUri($get);
$client->request('GET');
--
View this message in context: http://zend-framework-community.634137.n4.nabble.com/Bad-request-tp3322408p3322408.html
Sent from the Zend gdata mailing list archive at Nabble.com.

没有评论: