Chilkat Forum

Technologies => REST / HTTP / HTTPS => Topic started by: alardt on February 02, 2018, 04:30:58 PM

Title: Foxpro prg Post gets Response. Exe gets No Response (NULL)
Post by: alardt on February 02, 2018, 04:30:58 PM
Same code in both places.  I get an object back in my response on the stand alone program.  In the executable, I don't get an object back.  It's always NULL

loHTTP.connecttimeout = 40
loHTTP.readtimeout = 40
loHTTP.SetRequestHeader("SoapAction","urn:insertTitle")
loResponse = loHTTP.PostXml(lcURL, lcXML, "utf-8")

loResponse is null in the executable
Title: Re: Foxpro prg Post gets Response. Exe gets No Response (NULL)
Post by: Chilkat on February 02, 2018, 05:08:50 PM
1) Any Chilkat method that returns an object will return null if it failed.

2) For any Chilkat method, in any class, when a method returns failure, check the contents of the object's LastErrorText property.  It'll have information about what happened.