Http Methods, waht do they do??

Cableguy

Expert
Licensed User
Longtime User
Hi, in my latest code, i'm using the http dll, in order to get some info on a specific web page...
my problem is that this page require login, in a previous page, so I need to do some trimming of some strings...
I believe to have the login part done, but when i try to reach the login page with the login info, I get one of two error, depending on the method I use...
With method "Get":

"The strem was not readable"

With Method "POST"

"The remote server returned an error: (411) Length Required"

What does this mean, and are the results of each usable method, what do they do?

PS...My loging string is like this:
http://speed.travian.pt/dorf1.php?login="1217078018"&edb0889="GALHUDO"&ee09d76="VITOR68"&ec03ff1=""
 

Cableguy

Expert
Licensed User
Longtime User
Ok, so how can I know the value...
Is it just the sum of all the letters in the sentence after the "normal" url?
 

Cableguy

Expert
Licensed User
Longtime User
Aproaching the problem in a different way...
If I use the WebBrowser dll, with the http, after login in and loading the page I wich to extrat the data from, will I be able to "Read" that page?
 

agraham

Expert
Licensed User
Longtime User
will I be able to "Read" that page?
Not on a device. From my WebBroswer help . "It is not possible to access the text of the browser whether set by DocumentText or by navigating to a URL". On the device the DocumentText property is write only.

However on the desktop DocumentText is readable. As you appear to have already recompiled my source just add a get for the DocumentText property to the source and recompile. That should give you access to the HTML - no guarantees as I haven't tried it as I kept the WebBrowser capability to that of the device to avoid having two libraries.
 

Cableguy

Expert
Licensed User
Longtime User
Ok, so I went back to basis and re-engineered Andrews WebBrowser dll, added 2 new props and 1 new method, and altered one Write only prop to be I/O, and I finaly got things started....

Thanks for ALL your help...it's been priceless...
 
Top