Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Post form data command in the http properties (https://www.kinook.com/Forum/showthread.php?t=4070)

citect 07-06-2009 02:09 AM

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

kinook 07-06-2009 01:47 PM

var_x=value_a&var_y=value_b...

citect 07-06-2009 06:06 PM

1 Attachment(s)
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?

kinook 07-06-2009 06:39 PM

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/


All times are GMT -5. The time now is 10:16 AM.


Copyright © 1999-2023 Kinook Software, Inc.