Hi,

You could try to do a HTTP DELETE like the following sample, using the
Contact Photo Link and any ETag (or an specific one if necessary):

DELETE http://www.google.com/m8/feeds/photos/media/user%40domain.com/1
Authorization: GoogleLogin auth=DQ...
If-Match: *
Content-Type: application/x-www-form-urlencoded
GData-Version: 2


-Julian

On Apr 14, 1:42 pm, D2 <[email protected]> wrote:
> HTTP - HEADER
>
> "Host:www.google.com"
> "MIME-Version: 1.0"
> "Accept: text/plain"
> "Content-type: image/*"
> "Authorization: AuthSub token=AUTH-TOKEN"
> "X-HTTP-Method-Override: DELETE"
> "Cache-Control: no-cache"
> "If-Match: E-TAG"
> "GData-Version: 2"
> "Connection: close"
>
> URL :  
> http://www.google.com/m8/feeds/photos/media/EMAIL-ADDRESS/f6bf7740bdc...
>
> I want to delete photo for a perticular Contact. Above is my
> http_header to delete photo. & url is same as i get from "rel#photo".
>
> when i proccess this, I get http_response 200. But image remains as it
> is.
>
> Anything wrong in this code?? please reply soon
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Contacts API" 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-contacts-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to