Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

12.6 classic XMLHTTP, OLEObject, OPEN, SEND and POST

$
0
0

Below both case 1 and 2 worked in 10.5, but now only case 2 works. case 1 gives me a system error in 12.6

The only difference is that in case 1, I am using an IP address where as case 2 I am using a https://  address.

 

 

case1

 

OLEObject xmlhttp

xmlhttp = CREATE OLEObject

xmlhttp.ConnectToNewObject("Microsoft.XMLHTTP")

xmlhttp.open('POST',"126.0.0.1:16648",  true);

xmlhttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded');

   

XmlHttp.send(ls_xmlstring)

 

 

case 2

 

OLEObject xmlhttp

xmlhttp = CREATE OLEObject

xmlhttp.ConnectToNewObject("Microsoft.XMLHTTP")

 

ls_open = "https://..."

xmlhttp.open("POST", "https://www.......:"ls_open, false);

 

xmlHttp.send(ls_xmlstring)


Viewing all articles
Browse latest Browse all 2935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>