Can anyone provide an example of how one would use the (pre-defined) function
Function HttpPost( ByVal strURL As String , ByVal strHeaders As String , ByVal strOptional As String , ByVal bAuthenticate As Logical , strContentType As String , ErrorMsg As String) As CString
My POST message needs to send 2 parameters, e.g.
bbox, to a php script sitting on our server which will use the parameters in an SQL query and then returns json-formatted results.
All I've been able to find is sample code within my MapBasic installation folder, however this only uses the HttpGET function and no examples of HttpPOST.
I have not found documentation.
I have posted on MapInfo-L as well where I was able to get a response with HttpGET but then not any further.
I have not yet emailed Pitney Bowes support.
Note: need to do this in 32bit MapInfo (i.e. up to v15), the application I need this for hasn't been converted to 64bit yet