CGI and JSON
Posted: Wed May 05, 2021 7:44 am
Greetings!
Never thought of it before, but with json-parse being a built-in function, it's easy to check if CONTENT_TYPE is application/json and then parse POST-ed data as JSON and otherwise as old skool form data.
Now I can move on to build my lightweight webhook processing engine in newLISP. Yay!
K.
Never thought of it before, but with json-parse being a built-in function, it's easy to check if CONTENT_TYPE is application/json and then parse POST-ed data as JSON and otherwise as old skool form data.
Now I can move on to build my lightweight webhook processing engine in newLISP. Yay!
K.