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: HTTP Control
User1091

Posts: 1
Member Since: 10/27/00
posted October 27, 2000 4:31 PM

Hi,
This is a first time i am using this control and here is my little tets.

  Dim Headers As New DartStrings
  Dim ReqHeaders As New DartStrings
  Dim SData As String
  SData = "ABCBCBCBDBDBXXXX"
  ReqHeaders.Add "Content-Type: ABCBC" & vbCrLf
  ReqHeaders.Add "Content-length:" & Len(SData) & vbCrLf
  Http1.Timeout = 60000  'give it up to 60 seconds
  Http1.Url = "http://abc.cade.com"
  Dim a As String
  Http1.Post SData, ReqHeaders, a

These few lines will return an errors ( i guess it is something wrong for parameter 2 on the post method).


Thanx so much

Lam
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted October 27, 2000 5:20 PM


Get rid of the CRLFs from the Headerlines and try again.
Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX