Do you have any authentication on your request? The /user/default days to use the authenticated user, but will fail if you don't include any auth. The browser will use cookies for authentication, if available.
If this is an authenticated request, what message do you get back from the server? Thanks. On Sep 4, 2013 7:45 AM, "Sumit Kumar" <sumitk...@gmail.com> wrote: > Any idea why this code does not return the response xml:- > > var rPath = ' > https://picasaweb.google.com/data/feed/api/user/default'; > var hHeaders = {'GData-Version': 2}; > > var mEthod = 'GET'; > var request = gapi.client.request({ > 'path': rPath, 'method': mEthod, 'headers': hHeaders > }); > request.execute(function (resp, rawRESP) { > > alert('rawRESP: ' + rawRESP); > > > }); > > When I paste the url on brower, a proper xml response is displayed. > > Regards, > > Sumit > > -- > You received this message because you are subscribed to the Google Groups > "Google Picasa Web Albums API" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-picasa-data-api+unsubscr...@googlegroups.com. > To post to this group, send email to > google-picasa-data-api@googlegroups.com. > Visit this group at http://groups.google.com/group/google-picasa-data-api. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Google Picasa Web Albums API" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-picasa-data-api+unsubscr...@googlegroups.com. To post to this group, send email to google-picasa-data-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-picasa-data-api. For more options, visit https://groups.google.com/groups/opt_out.