Translating Google Apps UrlFetchApp.fetch to zoho creator
I am struggling with the syntax of converting the following piece of code taken from google apps into Zoho
var resp = UrlFetchApp.fetch('http://xmlgw.companieshouse.gov.uk/v1-0/xmlgw/Gateway',
{'Content-Type':'text/xml',
'method':'post',
'payload':xml});
where xml is a variable containing xml information.
Can someone please help with the conversion.
Thanks,
Mike