Last active
September 12, 2023 14:57
-
-
Save ffalor/079b8474fbcaa384fb36496f2cf764a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ! _resp="$(curl --retry 15 --retry-delay 10 -sf -H "Authorization: Bearer ${SSM_CS_AUTH_TOKEN}" -H "User-Agent: $userAgent" "$URL")" ; then | |
errcho "Failed getting url (exit status $?)..." | |
"$@" | |
echo "${_resp}" | |
echo _resp | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment