I’m modifying the default telegram.sh to send and image of the graph related with the service failing just after sending the default message.
When I put and static path of a PNG image the script works fine.
My error comes when I try to get the service graph automatically. I send a curl to download the PNG in a temp directory but what I get is a “Invalid user input” error message.
The curl I use to autheticate and download the graph is:
BIG THANKS!
Thanks to your answer I have realized that I was sending some characters badly encoded. Now it works!
Your example works perfectly as well.