Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Program to Web server communication problems.
I'm using Borland Builder to try and do the following...
I am trying to communicate with a web server from a normal executable windows program using an NMHTTP object. The get function works fine but I cannot get the post function to work. The other side doesn't reflect the changes in the parameters and the page is rendered in the same way as with the Get function. I update the page(an ASP file) on the server side with the posted parameters and in a browser it works fine. The problem seems to stem from the syntax of the posted data. The help says that the post data should be of the form
and this is what I do.
The NMHTTP object does not support secure socket transfer. Is there any other way that I can do the above communication over a secure socket? I have tried to use the TCCPBrowser but I have not been able to figure out how to manipulate the TVariant and IDispatch variables that contain the data.
Would be most grateful for any info or a direction to info on the net.