Sign in to follow this  
Followers 0
member42

Post with winHttp

8 posts in this topic

Hello,

I come here because i need help(yes i'm serious) the problem is that on one website there's more than a simple post i've looking with Whireshark and i have noticed:

A picture is worth a great speech so :http://img208.imageshack.us/i/illustrationu.jpg/

The name of my variable are 1,2,3 but with the simple function that doesn't work =/

I've search and found this function: _WinHttpSimpleFormFill that's seem resolve the problem but how use it =/ how say the kind of Encapsulation?

thank you in advance

Share this post


Link to post
Share on other sites



Nobody =/

i've work on the rest of my code for simpel formulair there's no problem and for the GET request that's all right but for this problem i've any idea.

Share this post


Link to post
Share on other sites

For example I could help but I don't know what with.

Could you explain what is it that you want to do?


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

Ho one angel for rescue me (a)

I want to create one request Post but the system of the formulair is not on the basic From :/

Share this post


Link to post
Share on other sites

Ho one angel for rescue me (a)

I want to create one request Post but the system of the formulair is not on the basic From :/

You said nothing here.

If you want help you need to be more specific.


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

_WinHTTPFromFill should recognize that automatically when examining the sourcecode of the form, so use the function just like with any other form.

Edited by ProgAndy

*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Share this post


Link to post
Share on other sites

_WinHttpSimpleFormFill

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

i had noticed that this function was usefull but i don't undertsantd how use it =/

Did you have a simpel example plz.

Edit:After search in the help:

_WinHttpSimpleFormFill(ByRef $hInternet [, $sActionPage = Default [, $sFormId = Default [, $sFieldId1 = Default [, $sData1 = Default [, (...)]]]]])

$hInternet Handle returned by _WinHttpConnect(). In case form requires redirection this handle will be closed and replaced with new and required one.

$sActionPage [optional] path to the page with form (default: "" - empty string; meaning 'default' page on the server).

$sFormId [optional] Id of the form. Can be name or zero-based index too (read Remarks section).

$sFieldId1 [optional] Id of the input.

$sData1 [optional] Data to set to coresponding field.

In the help i'va found a little explication.$hInternet, $sACtionPAge, $sFormId and sFieldId, there's no problem but i can see the same for the last one...

Edited by member42

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0