The webhook I am building needs to respond to an HTTP GET request, with a body containing the value of a query parameter.
The HTTP GET looks like this:
This PHP script works…
<?php header('Content-Type: text/plain'); echo $_GET['challenge']; ?>
How would I replicate this in Python? Ideally without having to execute the PHP script within Python.