Thread:Foozand/@comment-24150802-20190207062513

Hi Foozand! Thanks so much for adding an example to the Webhooks page! It's great to have that to better explain how to use webhooks - the page badly needed it.

I've made some wording adjustments (feel free to change them if I've corrupted the meaning of anything) and I've also changed how the sample script is formatted to work around some of the problems that Fandom's code had created (e.g., the quote marks in the return statement were invisible). I've tried to ensure that the formatting and code in my version is correct but you might like to check it. I especially tried to keep the indentation identical to how it was before I edited the page, but again that would be worth checking. You can see the version before I edited it here: https://habitica.fandom.com/wiki/Webhooks?oldid=130234 and the current version is here of course: https://habitica.fandom.com/wiki/Webhooks 