Original post

So basically whatever i have found on the internet has structs loading data from json into it etc. But i dont really need that, everytime i get some json from a webhook i want to dump it to a json rather append it to already present json file. So basically i want to log my webhook’s json.

The file in the end should look like

{ webhook latest call } { older webhook call } { even older webhook call } 

that’s it which later will be displayed to the user in the browser whenever the user hits /displaydata

submitted by /u/Professional-Syrup
[link] [comments]