Option to Capture Webhook Data #3645
-
Thanks team for all that you do! I have a quick question about capturing webhook data. Is there a way I can configure postgrest to receive/capture webhook data from an external system? I believe the answer is no. I believe I would need to write this tool myself and host it next to postgrest on a separate port/ip. Here are are the details of the to-be solution:
Thanks for your time and consideration! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You could look into RPCs with a single unnamed json argument: https://postgrest.org/en/v12/references/api/functions.html#functions-with-a-single-unnamed-json-parameter This should let you deal with the differing payload easily. |
Beta Was this translation helpful? Give feedback.
You could look into RPCs with a single unnamed json argument: https://postgrest.org/en/v12/references/api/functions.html#functions-with-a-single-unnamed-json-parameter
This should let you deal with the differing payload easily.