I am able to see the entire Body Content of POST webhook to my server after the pullrequest:fulfilled event. I can see the actual payload consists of:
But, in the Guide it says the payload needs to be:
I know how hashing works, but I cannot figure out what the payload must be to produce the expected hash. "Account" is a common entity but does not show up on the page of examples. The PullRequest example does not include all sections of my own pullquest JSON key.
I've tried the entire components of actor, pullrequest and repository, but it doesn't work. I've tried all of actor, and attempted to model the rest according to examples, in the order provided but it doesn't work.
So what is "Account" supposed to be? What else am I not understanding?
The answer is: forget the details of the payloads shown in the examples. The payload as-sent is what is needed, and it's a raw text string with no spaces (and not in JSON as shown in the examples).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.