|
#1
|
|||
|
|||
Post form data command in the http properties
Hi
I want to past a form data using the form data command in the http properties. What is the format of the data? can we get an example of how to use this command? thanks |
#2
|
|||
|
|||
var_x=value_a&var_y=value_b...
|
#3
|
|||
|
|||
I tried to put the following data to my loggin form but it does not seems to work(because the next form post requires that the user to be logged in):
username=usrname&passwd=password I know the form requires these two fields username and passwd. See the data form in the attach file. Please can you advice? |
#4
|
|||
|
|||
To maintain state between requests, web applications typically return a cookie to the client, and the client includes the cookie with subsequent requests.
http://en.wikipedia.org/wiki/HTTP_cookie When logging in manually with a browser, the browser will manage these session cookies. The VBP HTTP action is meant only for submitting data for a single form and doesn't support sessions or getting and setting cookie values. You could instead call a browser such as IE (using a Run Script action) to login to a web site and perform actions within the login session. http://scriptorium.serve-it.nl/view.php?sid=30 http://www.google.com/search?q=autom...bsite+vbscript Another option might be calling a command-line HTTP client (using a Run Program action) that supports sessions/cookies. http://gnuwin32.sourceforge.net/packages/wget.htm http://www.gnu.org/software/wget/ |
|
|