Libcurl doesn't follow redirects with a request of the same type. You
send a DELETE to some url, Google returns a 302 to new url and Libcurl
follows that up with a GET to the new url

The request succeeds - thus your 200 OK - but it was a GET that
succeeds, not a DELETE, so your event is not deleted.

You need the X-If-No-Redirect header. This will require you to handle
the redirect in your code. See more detail here:
http://code.google.com/support/bin/answer.py?answer=55833&topic=10360


Ray

- Show quoted text -

On Wed, Dec 17, 2008 at 8:04 PM, D2 <[email protected]> wrote:
>
> Hello...
> i am new in this grooup..
>
> i am, trying to delete calendar event but there is no deletion
> there...
>
> i am doing it with php using CURL... i am geeting 200 OK response...
> but cant update or delete event on google calendar...
> same problem in update-delete  with calendar also...
>
> can any body help???
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data 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-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to