I'm hoping someone can shed some light on what I'm doing incorrectly.
Using perl and the example script I can get the SID token. I'm not
sure how to proceed with the next step; retrieving a report. Here's an
excerpt of my sample code:

my $content =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>
  <rest xmlns=\"google:accounts:rest:protocol\"
    xmlns:xsi=\" http://www.w3.org/2001/XMLSchema-instance \">
    <type>Report</type>
    <token>$auth_token</token>
    <domain>ckettle.com</domain>
    <date>2009-03-26</date>
    <reportType>daily</reportType>
    <reportName>disk_space</reportName>
  </rest>";

my $rep_url = 'https://www.google.com/hosted/services/v1.0/reports/
ReportingData';
my $response = $lwp_object->post( $rep_url, Content => $content);
print $response->content;

Unfortunately this is all I get back:

<HTML>
<HEAD>
<TITLE>Not Found</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Not Found</H1>
<H2>Error 404</H2>
</BODY>
</HTML>

I'm not sure what I'm doing wrong and any help would be appreciated.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Apps APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-apps-apis?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to