Archived Forum Post

Index of archived forum posts

Question:

How to use Active-X HTTP sample code with proxy servers?

Mar 04 '16 at 18:24

We have clients who use our software to send JSON files to their corporate HQ using https on port 443. Two request headers are set - one with an application key name and its value which authorizes the information transfer, the other is Content-Type with application/json as its value.

The sample code from http://www.example-code.com/foxpro/http_post_json2.asp implemented perfectly (thank you) until we came across client locations with proxy servers. The corporate HQ sees nothing from the client, and the client's response from the loHttp.PostJson2() method has empty statusline and statuscode values. I'm new to proxy server implementation and don't know what information is needed from the client to address the trouble, or where to begin looking.

If there's a solution for this, can you point me in the right direction?