Hi Mark
Here is the code that we use
ut = CreateObject("roURLTransfer")
ut.SetPort(m..port)
ut.RetainBodyOnError(true)
ut.AddHeader("content-type", "application/json")
if urlString.InStr(0, "https") = 0
ut.SetCertificatesFile("common:/certs/ca-bundle.crt")
ut.InitClientCertificates()
end if
ut.SetURL(urlString)
ut.AsyncPostFromString('datatobeposted')
Thanks