On Fri, 15 May 2015, Michael Van Canneyt wrote:



On Fri, 15 May 2015, markbass72 wrote:

On 15/05/2015 10:22, Michael Van Canneyt wrote:

Better ask questions here. I don't use the forum, I'm old school.
But I have answered on the forum.


from forum:
you can set the webclient.logfile to some valid filename and examine the resulting
file after the request. It should contain the complete response of google
Note that you better use the Patch method if you're just changing some properties.


Following the response for:
FCalendarAPI.EventsResource.Update(FCurrentCalendar.ID, entry.id, Entry);

that is the same (except for 1st line where response begins with "Request : PATCH https://...";) for:
FCalendarAPI.EventsResource.Patch(FCurrentCalendar.ID, entry.id, Entry);

maybe missing headers?

Looks like it, a header 'Content-type: application/javascript' should be added.

I checked, I had indeed another version of googleservice.pp with the fix in it.
I commited the fix, rev. 30859.

Michael.

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to