It's no different from sending text data over HTTP -- you just have a different URL that has some security/certificate stuff that happens before you send your data. It's all transparent to your code.
I would try and simplify things to find why you are unable to send over HTTPS. Perhaps just send a "hello" string over the connection first. If that doesn't work, you probably aren't really connecting, and I would troubleshoot that.
I tried what you posted. Just sending a hello string to the URL but that failed as well. If I use HTTP it works just fine but it's only when I use HTTPS I have a problem. The method "send" fails when trying to send the data.
I tried to use the "status" property of the XMLHTTP object but when I call it I get "an unspecified error has occurred" so I dont know how to troubleshoot it.
I figured this out and thought Id post it for anyone else who comes across this thread: I was attempting to use the XMLHTTP object but actually (for HTTPS), you need to use the ServerXMLHTTP object which is also contains in XML 3.0
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.