This works. thanks. I am also having a lot of trouble with the Data parameter of HTTP POST. I need to pass on the following in this parameter:
ZOHO_SQLQUERY=select events.timems,events.tagid,events.datetime,tags.Client,tags.Site,tags.taglocation from events join tags where events.tagid=tags.tagid
And this needs to be made URL Encoded, ie should look like below when it goes:
&ZOHO_SQLQUERY=select%20events.timems%2events.tagid%2events.datetime%2tags.Client%2tags.Site%2tags.taglocation%20from%20events%20join%20tags%20where%20events.tagid=%3Dtags.tagid
Any ideas?