Jump to content

Recommended Posts

Posted

It looks to me that you are trying to send a "POST" to the server, but you are passing the data in the URL query string as though it is a GET operation.

Most likely, the data needs to be passed in the request header instead of in the query string as you are attempting. Suggest you investigate this in the winhttp docs. Learning more about winhttp is on my ToDo list, but I am not an expert at this time. I think this might get you on the right track however...

I also suggest that you might want to install Fiddler which is a very nice HTTP debugger that will show you what is being passed in the headers -- be ready to take a sip from the firehose of information, it is a great tool.

Dale

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Posted

Hmm, Yes, the way I was getting those urls and such, was from using this plugin for firefox "Live HTTP Headers". I think its like the program your talking about "Fiddler".

# MY LOVE FOR YOU... IS LIKE A TRUCK- #
Posted

Hmm, Yes, the way I was getting those urls and such, was from using this plugin for firefox "Live HTTP Headers". I think its like the program your talking about "Fiddler".

This is hurting my head :)
# MY LOVE FOR YOU... IS LIKE A TRUCK- #
Posted

This is hurting my head :)

Headers are not contained in a URL (that is a query string). Query strings are used by the GET method, Headers are passed invisibly in the Request Headers (from the browser) and back in the Response Headers (from the server).

Dale

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Posted

Azkay, couldn't you just use IE for this??? If not, why not?

Because I dont want to have to use iexplorer.exe process.
# MY LOVE FOR YOU... IS LIKE A TRUCK- #
Posted

Check the value of $Sid...what you are posting is:

"thesid"

- not -

thesid

Follow me? That funtion you are using is trimming left and right -1 char, so what's left is the sid wrapped in quotation marks. Might be the problem, might not be.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...