I'm writing a gadget to upload a file onto a private google site using
the sites api.
http://code.google.com/apis/sites/docs/1.0/developers_guide_protocol.html#UploadingFiles

I can only upload the file using a multi-part form. But it doesn't
work because the api needs oauth authentication. Authetication
involves setting some header fields in the POST request. Unfortunately
form submit does not let us set the header, thus no authentication.
Ajax call won't work because of cross-domain restrictions. Any ideas
on what can be done?

One way I can think of is to use a proxy which makes the authenticated
call, but I want to avoid that. I need a javascript-only way of doing
it.
-- 
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" 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-Gadgets-API?hl=en.


Reply via email to