pyscript icon indicating copy to clipboard operation
pyscript copied to clipboard

Feature Request: Webhook support

Open bernikr opened this issue 3 years ago • 1 comments

I dont know if this is easily achievable, but i think it would provide useful, if functions could be triggered via a webhook, just like native automations.

Sometimes the data received via a webhook needs to be processed in some way that is easier in python as compared to an automation. Unfortunately webhooks themselves dont emit an event on which i could trigger.

My current workaround is an automation triggered via webhook, which then calls a service defined in pyscript. However, I only having to define the webhook in pyscript would provide useful.

bernikr avatar May 29 '22 15:05 bernikr

I also need Webhook trigger in pyscript, It's a very useful function. Thanks!

xiaolei0125 avatar Aug 03 '23 08:08 xiaolei0125