Unlock Chilkat at the Start of Each ASP Page

In Classic ASP, if you want to run the same code at the start of each web page, the best approach is to create an include file containing the code and then include that file at the beginning of each page. This way, you can centralize the code and ensure it runs on every page. Steps: Create an Include File […]

Background Threads (Async) in Classic ASP

* Chilkat recommends avoiding the use of Async methods in Classic ASP.  In summary, the Chilkat Async methods run in a background thread (within Chilkat) and you don’t want the background thread to be running after the processing of the ASP page is completed. In Classic ASP, creating and managing background threads is not natively supported because Classic ASP is […]

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 […]

Receiving a Webhook JSON POST in Classic ASP

Question: I need to setup a page in Classic ASP to serve as a webhook endpoint listener in Classic ASP The form product we are using (Paperform) posts the data to our endpoint as a JSON post payload. https://help.paperform.co/en/articles/2073207-how-to-use-webhooks Submission payload Webhooks POST a JSON payload on submission to the webhook URL. The JSON payload looks like the following: { “data”: […]