SQL Server ASP HTTPutils

qsrtech

Active Member
Licensed User
Longtime User
I'm trying to use your sample code for connection to sql server data. I use sql server through asp extensively. I'm confused as to where to put the "?" and "query=" part in the http request
i.e.
HttpUtils.PostString("Job1", ServerUrl, sql)

I have Serverurl="http://www.xyz.com/sql.asp"

I then have sql="Execute xyzStoredProcedure"

I've tried inserting the "?query=" with many combinations with no success. Please advise.

Btw, the http sample doesn't seem to show anything about the "?" or "=query"
 

qsrtech

Active Member
Licensed User
Longtime User
Resolved

This issue was that I normally use GET and this library uses POST which requires request.form("sql") vs request.querystring("sql")
 
Upvote 0
Top