Classic ASP to Read JSON Request Body and Write JSON Response

Here’s a Classic ASP example using Chilkat to read an incoming JSON request body (such as from a POST), load it into a Chilkat JsonObject, and then write the JSON to an application/json response: <% If Request.TotalBytes > 0 Then ‘ Read the JSON request body into a Chilkat BinData object. set bd = Server.CreateObject(“Chilkat_9_5_0.BinData”) bd.AppendBinary(Request.BinaryRead(Request.TotalBytes)) ‘ Load a Chilkat […]