I'm trying to validate a webhook via facebook. So facebook hits my url my-url/facebook/receive
within my route in nodejs i'd do res.send(req.query['hub.challenge']);
to send an http response.
I'm using KoaJS. From what i understand, Koajs merges the request and response object into ctx
but when reading through the docs I can't find anything along the lines of ctx.send
or similar to send a http response.
Can anyone give me some direction or links.
Thanks.