I looked over the documentation.  I think I understand what I need to do but 
I am having a couple problems.  For some background, I am trying to upload a 
photo to a contact using javascript. 

When I do the PUT request I get a "405 Method Not Allowed" response from the 
server.  The code is basically ...

jQuery.ajax({
                type: "PUT",
                contentType: "image/jpeg",
                url: 
"http://www.google.com/m8/feeds/photos/media/aaron.austermiller%40gmail.com/2271c8998d4d6ff8";,
                data: "http://www.gan.ca/images/SaintBernard.jpg";,
                async: false
            });

I am getting a 405 Method not allowed.  I am not sure what data I need to 
send.  I have tried sending both a photo link and the photo bytes and I 
cannot get it to work either way. Any ideas as to what I am doing wrong? 

Thanks





-- 
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles 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://code.google.com/apis/contacts/community/forum.html

Reply via email to