Corrected webhookification of flask requests