Added a readme
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Jef Roosens 2022-11-16 13:05:09 +01:00
parent 9c3af74e1b
commit 94f7400169
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
3 changed files with 26 additions and 0 deletions

View file

@ -10,4 +10,7 @@ if [ "$1" = add ]; then
-H "X-Api-Key: $API_KEY" \
"$URL/$2"
echo "$URL/$2"
elif [ "$1" = get ]; then
curl -is "$URL/$2" | grep -Po '(?<=location: ).*'
fi