#Discord webhook
14 messages · Page 1 of 1 (latest)
I am not familar with Discord webhook. Can you show me an example of the JSON you are posting, that includes your webhook?
{
"input": {},
"webhook": " https://discord.com/api/webhooks/1285880239519436830/WdjDoEvCXTUkyw-lBYqz8L6oZ3j660rSy83P8V0kPdIqMgSVUPTtIquCZhYGkAayM4hE"
}
just like this
That looks like it should work. What are you seeing happen?
What is Discord expecting? Does your handler return any data?
nothing happen
Discord just need post request like requests.post(self.webhook_url, data=data, files=files)
Do you have any way to tell if the worker is requesting the webhook?
How are you able to tell if the worker has hit the webhook URL or not?
i dont know, i just add webhook to the request
Ok, then how can you be sure that it is not working?
it think it shuold log something to discord when request is completed