I have the following code in Python as instructed by Flask to listen for a webhook POST request from Trading View alerts. I am using webhook.site for the webhook url.
<