Just in case this helps others, this stopped working for me and I tracked it down to a curl SSL error issue. I fixed this by adding -k right before the $URL at the end of the final line.
$CURL --data "auth_token=$AUTH_TOKEN&value=$VALUE" --data-urlencode "comment=$COMMENT" $URL
Is now:
$CURL --data "auth_token=$AUTH_TOKEN&value=$VALUE" --data-urlencode "comment=$COMMENT" -k $URL
I hope this helps others. Thanks so much for this script! I use it often!
Just in case this helps others, this stopped working for me and I tracked it down to a
curlSSL error issue. I fixed this by adding-kright before the$URLat the end of the final line.$CURL --data "auth_token=$AUTH_TOKEN&value=$VALUE" --data-urlencode "comment=$COMMENT" $URLIs now:
$CURL --data "auth_token=$AUTH_TOKEN&value=$VALUE" --data-urlencode "comment=$COMMENT" -k $URLI hope this helps others. Thanks so much for this script! I use it often!