Python CGI: a lost and poorly-documented art
I’ve been playing with webhooks in Codeberg (i.e. Forgejo). Forgejo have a very nice PHP example webhook handler. I know that I can write it as either a Python or a Go webapp but what if I don’t want to write another webapp and I just want something to process the JSON POST in the same way as the PHP script. Aside from the fact that the cgi module is deprecated since Python 3....