Working on POST method with BHO?
-
Hello everybody, I am developing a Browser Help Object in IE and encounter some problems: - Get data sent by POST method from an URL. - Send data to an URL by POST method. How can we accomplish that? Do you have any ideas or suggestions? Thanks. Lan hue sau ai lan hue heo Lan hue sau doi trong heo ngoai tuoi
-
Hello everybody, I am developing a Browser Help Object in IE and encounter some problems: - Get data sent by POST method from an URL. - Send data to an URL by POST method. How can we accomplish that? Do you have any ideas or suggestions? Thanks. Lan hue sau ai lan hue heo Lan hue sau doi trong heo ngoai tuoi
Hi, I guess you can get the data sent by POST method in DocumentComplete/ DownloadComplete events of the IE. In addition to this you have to do some digging on interfaces IHTML*... Hope this would help... Cheers, Vishal
-
Hello everybody, I am developing a Browser Help Object in IE and encounter some problems: - Get data sent by POST method from an URL. - Send data to an URL by POST method. How can we accomplish that? Do you have any ideas or suggestions? Thanks. Lan hue sau ai lan hue heo Lan hue sau doi trong heo ngoai tuoi
nmhuy wrote: Get data sent by POST method from an URL. You can retrieve the data sent by POST before sending it to the Web Server. This article[^] clarifies it quite a lot. nmhuy wrote: Send data to an URL by POST method. To achieve this, you have to build your page with aform[^] (type POST defined)with all the fields you want to send.
...form contents...
In the "action" field you have to insert the URL where you want to send the data with the method defined in the field "method" (POST). I hope it helps, Marc Soleda. ... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits. -
nmhuy wrote: Get data sent by POST method from an URL. You can retrieve the data sent by POST before sending it to the Web Server. This article[^] clarifies it quite a lot. nmhuy wrote: Send data to an URL by POST method. To achieve this, you have to build your page with aform[^] (type POST defined)with all the fields you want to send.
...form contents...
In the "action" field you have to insert the URL where you want to send the data with the method defined in the field "method" (POST). I hope it helps, Marc Soleda. ... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.Send data to an URL by POST method. I want the BHO send data automatically to an URL by POST method. In case of GET method, the BHO can easily send data to an URL by using the Navigate method of the IWebBrowser (e.g MyWebBrowser.Navigate2("http://...?data1=abc&data2=xyz"). But how can we send data an URL in case of POST method?Thanks. Lan hue sau ai lan hue heo Lan hue sau doi trong heo ngoai tuoi
-
Send data to an URL by POST method. I want the BHO send data automatically to an URL by POST method. In case of GET method, the BHO can easily send data to an URL by using the Navigate method of the IWebBrowser (e.g MyWebBrowser.Navigate2("http://...?data1=abc&data2=xyz"). But how can we send data an URL in case of POST method?Thanks. Lan hue sau ai lan hue heo Lan hue sau doi trong heo ngoai tuoi
nmhuy wrote: I want the BHO send data automatically to an URL by POST method Create a function on JavaScript or VBScript inside your HTML code that submits the form and make this JS function available from the VC++ code to call it when you decide (automatically or not). To do this look for information about CHtmlView and its method GetScript()->Invoke(). Marc Soleda. ... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.
-
Send data to an URL by POST method. I want the BHO send data automatically to an URL by POST method. In case of GET method, the BHO can easily send data to an URL by using the Navigate method of the IWebBrowser (e.g MyWebBrowser.Navigate2("http://...?data1=abc&data2=xyz"). But how can we send data an URL in case of POST method?Thanks. Lan hue sau ai lan hue heo Lan hue sau doi trong heo ngoai tuoi
Take a look to these good articles. They'll help you to perform JS calls from VC++: Web Gui[^] or JavaScript calls from C++[^] Marc Soleda. ... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.