Basic Webhook: custom response body #1068
-
Hi all! I was tinkering a bit with the webhooks function (specifically the Basic Webhook) and wondered how I would customise the response for a received request. Specifically, I'm looking to use the YouTube Data API's notification system (pubsubhubbub, found here) to listen for new videos uploaded to a channel and then populate a row with the video's information (parsed from the XML data received via the POST request). However, when I'm trying to set it up, the problem I'm running into is that the above-mentioned YouTube notification system requires that the webhook responds in its 'OK' / '200' status's body with a specific string - as contained within this initial set-up GET request's queries ("hub_challenge"). How can I include that "hub_challenge" string received via YouTube's GET request within's Rowy's 'OK' / '200' response body? Any advice would be greatly appreciated - thanks in advance! |
Beta Was this translation helpful? Give feedback.
Answered here : #1069