Login  
Search All Forums
Dart Home | PowerTCP Web for ActiveX | Custom Development Reply | PowerTCP Web for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web for ActiveX
Topic: Posting Form to ASP
User820

Posts: 4
Member Since: 10/04/00
posted April 2, 2001 2:11 PM

Using the web tool in a client application. I need to post data to an asp page that uses forms. I'm not sure how to format the Data parameter in the Post Method. What is the proper formatting? Do I need to specify a request header?
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted April 3, 2001 9:58 AM


I am assuming you are trying to mimic the submission of a form to an ASP script. We have a Post sample that demonstrates this.
Basically, you would include your form data pairs (Name, Value) in the Data Parameter, separated by "&". An additional Request Header should not be necessary in this case.

PostString = "Name=Ken&City=Rome&State=NY"

-ken
Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX