Hi,

Do PWA API endpoints support CORS? I've spend a few hours today trying to 
make a simple list work, without any results. I've tried both 
photos.googleapis.com and picasaweb.google.com, double-checked that the 
origin is set up correctly in the Web API console, authenticated via GAPI 
OAuth2 but still drew an blank. 

if anyone from the PWA team can tell me what I'm doing wrong, I'd really 
appreciate it. This is the example command I'm sending:

jQuery.ajax({url:'https://photos.googleapis.com/data/feed/api/user/default', 
headers: {'GData-Version': 2, 'Authorization': 'Bearer ' + 
gapi.auth.getToken().access_token }})

The response sounds as a CORS issue:

XMLHttpRequest cannot load 
https://photos.googleapis.com/data/feed/api/user/default. No 
'Access-Control-Allow-Origin' header is present on the requested resource. 
Origin 'http://localhost:5000' is therefore not allowed access.

gojko

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-picasa-data-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to