I\'m trying to post JSON via AJAX to a Classic ASP page, which retrieves the value, checks a database and returns JSON to the original page.
I can post JSON via AJAX. I
Don't know if you are still looking, but this answer may help you. However, the code is for ASP.NET pages. The classic ASP analog is:
byteCount = Request.TotalBytes
requestBody = Request.BinaryRead(byteCount)
Then, you probably want to turn it into a string to parse/use. You can use ADODB.Stream for the conversion.
Set bStream= CreateObject("ADODB.Stream")
bStream.Open
bStream.Write requestBody
bStream.Position = 0
bStream.Type = adTypeText
str = bStream.ReadText