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: 9002 httpInvalidParam2
Alexandre Archambault

From: Montréal, QC Canada
Posts: 49
Member Since: 02/27/01
posted March 2, 2001 12:25 PM

I'm getting an Error 9002 while using HTTP here's my code.
Dim m_Session as DartWeb.Http
Dim ReqHeaders as New DartStrings

Set m_Session = New DartWeb.Http

m_session.url = URL Address (https://emrk....)
m_session.timeout = 0
ReqHeaders.Add "application/x-www-form-urlencoded"

m_session.Post XML,,Data,ReqHeaders, UserCode, UserPassword

Where XML is a what needs to be posted
   Data is a string

I get the 9002 error and yet I still get the Data from my post?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted March 2, 2001 2:23 PM


Can you cause this error with our Post sample? If so, please tell me what I need to change to see it occur.

Thanks,

Tony Priest
Dart Tech Support
Alexandre Archambault

From: Montréal, QC Canada
Posts: 49
Member Since: 02/27/01
posted March 2, 2001 3:18 PM

The reason that I was getting this error message was that the data I was posting had TABs in it, as soon as I stripped the data of the TABs the error ceased.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted March 2, 2001 3:20 PM


Thanks for letting me know.
It think there is probably a sequence you use to replace tabs. Sort of like %20 means space.

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