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: ASP Post sample
kmak

From: Rockville, MD USA
Posts: 1
Member Since: 01/12/04
posted January 12, 2004 3:06 PM

One the web, the only sample I can find for Post is the following. However, I don't know how to handle the name-value pair for those input such as
<input type="hidden" name="x", value="x_value">
How can I parse the to a Poststring and then post it to a ssl web site.
This is the example on the web.
Dim Headers As New DartStrings
Dim ReqHeaders As New DartStrins
ReqHeaders.Add "X-MyContent: GoodDay"
Http1.Timeout = 60000 'give it up to 60 seconds
Http1.Url = "https://www.amazon.com/order/form.html"
Http1.Post FormResults, , , Headers

Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted January 12, 2004 3:11 PM

Take a look at the PostDemo sample that ships with your kit. That shows how to construct the variable into the data that you post.
Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX