We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I cloned your script (excellent script by the way... super helpful!) but it didnt work for me out of the box.
My bash scripting isnt that great, but I did a load of debugging and I came to the conclusion that everything is working up until the curl command.
I replaced:
curl -s -d "payload=$payload" "$webhook_url" >/dev/null
with
curl -X POST --data-urlencode "payload=$payload" $webhook_url >/dev/null
and now it works fine.
Just in case anyone else has a similar problem.
The text was updated successfully, but these errors were encountered:
Tried these changes and now I get HTTP/1.1 503 Service Unavailable on the payload. Any ideas?
Sorry, something went wrong.
Thanks @yanniboi, I had similar problems, and your fix solved it for me.
No branches or pull requests
I cloned your script (excellent script by the way... super helpful!) but it didnt work for me out of the box.
My bash scripting isnt that great, but I did a load of debugging and I came to the conclusion that everything is working up until the curl command.
I replaced:
curl -s
-d "payload=$payload"
"$webhook_url"
>/dev/null
with
curl -X POST
--data-urlencode "payload=$payload"
$webhook_url
>/dev/null
and now it works fine.
Just in case anyone else has a similar problem.
The text was updated successfully, but these errors were encountered: