Responding to a Hook Event


#1

Question … so I got the whole oauth routine going for logins with this app and now I’m trying to figure out how to deal with your hooks.

Here is the event you sent: https://github.com/Logflare/cloudflare-app/blob/master/example-event.json

Do I just copy that whole json payload and modify the things I’m interested in modifying? LIke I need to change the accountSources enum and enumNames … do I just respond with an accountSources object or do I respond with the whole payload like it is, except for modifying those things?

What exactly should the response body look like?

Thanks!