[python-win32] win32com: HTTP Post with WebBrowser.Navigate()

2005-08-26 Thread Troy Farrell
t to the user ie.Visible = True ie.Navigate( "about:blank" ) ---End Python Code--- Every time, the broser makes a GET request to the URL. Can anyone point me in the right direction? Thanks. Troy Farrell ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] win32com: HTTP Post with WebBrowser.Navigate()

2005-08-26 Thread Troy Farrell
( Data ) > Headers = "Content-Type: application/x-www-form-urlencoded\n\r" > > # show it to the user > ie.Visible = True > ie.Navigate( "about:blank" ) > > ---End Python Code--- > > Every time, the broser makes a GET request to the URL. Can anyone point > me in the right direction? > > Thanks. > Troy Farrell ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] win32com: HTTP Post with WebBrowser.Navigate()

2005-08-29 Thread Troy Farrell
>Try PostData=buffer(Data). > >hth > Roger Roger, this is exactly the solution I needed. Thanks! For future reference, the working code is below: ---Begin Python Code--- import win32com.client # Prepare Internet Explorer ie = win32com.client.Dispatch( "InternetExplorer.Application.