Saving raw webhooks data in DB (or file)?

Hello dear wappler support superstars !

I was wondering if there was any way to save raw webhook data in DB (or JSON files) ?

Use case is the following :
Stacking all incoming webhooks for Stripe, Paypal and the likes.
So that we can later on process them, and even inspect/debug them + replay them.

Until now, we did this with PHP and JSON files.

Wondering if this use case is achievable with server connect ?

So far all my efforts to convert POST (and GET) arrays into something I can insert to (and then read from) my DB failed.

I tried stuff like :
{{$_POST.toString()}}
{{JSON.stringify($_POST)}}

All ideas welcomed :slight_smile:

Thank you very much for your help and have a great day !

1 Like