Re: How do I know it is POST or GET method through IWebBrowser2



if PostData == NULL ==> GET
if PostData != NULL ==> POST ??

Let me try it.

Thanks!



"Igor Tandetnik" <itandetnik@xxxxxxxx> wrote
news:%23ZiWxz4rGHA.4512@xxxxxxxxxxxxxxxxxxxxxxx
"Sam Shi" <sam@xxxxxxxxxxx> wrote in message
news:OWhZUh4rGHA.3324@xxxxxxxxxxxxxxxxxxxx
Before the webbrowser_ctl begins to navigate a page, I need to know
the whether POST method or GET method it is in TranslateURL or
BeforeNavigator2..etc.

One of the parameters of BeforeNavigate2 event represents POST data. If
it's empty, it's GET request.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925



.



Relevant Pages

  • Re: Post using Query String
    ... post data from the command line. ... you have to have another server convert ... > want to open needs parameters passed to it via the POST method. ...
    (comp.lang.java.programmer)
  • http request using fsockopen
    ... On the start of page B I check var $foo. ... Sending the POST data also though the POST method. ... I manually create a HTTP request to page C and use the fsockopen method to ...
    (php.general)
  • http request using fsockopen
    ... On the start of page B I check var $foo. ... Sending the POST data also though the POST method. ... I manually create a HTTP request to page C and use the fsockopen method to ...
    (alt.php)
  • Re: How do I know it is POST or GET method through IWebBrowser2
    ... the whether POST method or GET method it is in TranslateURL or ... One of the parameters of BeforeNavigate2 event represents POST data. ... it's empty, it's GET request. ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: Post to a Form from VB.NET?
    ... and i was able to request a webpage or and post data ... > to a form using the GET method (passing parameters in the url) but not ... The Post method takes an extra argument for the parameters. ...
    (microsoft.public.dotnet.languages.vb)