I am working on trying to retrieve the vacation responder settings for a web application I'm working on. According to the API, I should be able to make a get request to the following URL to get the vacation responder settings:
https://apps-apis.google.com/ a/feeds/emailsettings/2.0/domain/username/vacation I have tried doing this both by cURLing the information in PHP and also with jquery by doing an ajax call and neither returns any data. Also, I have set the authorization token before sending the request. Here is what my current AJAX/jQuery code looks like: xhr = new XMLHttpRequest(); $.ajax({ beforeSend: function(xhr) {xhr.setRequestHeader("Authorization", "GoogleLogin auth=*auth_token*")}, url: "https://apps-apis.google.com/a/feeds/emailsettings/2.0/domain.com/username/vacation", success: function(data){ alert(data); } }); The domain and usernames have been changed accordingly as well. Expected output: I'm not sure what the expected output is because I haven't been able to succesfully complete a request Actual results: Nothing is output. I just get an empty alert box. Any help would be greatly appreciated! Thanks, Phil -- You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management 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-mgmt-apis?hl=en.
