mirror of
https://github.com/glimpse-app/server.git
synced 2025-04-02 10:52:45 -04:00
not needed number
This commit is contained in:
parent
0dc5945583
commit
b0e617f32f
1 changed files with 2 additions and 2 deletions
|
@ -75,8 +75,8 @@ printf "\n%bTest: $ENDPOINT%b\n" "$BLD" "$CLR"
|
||||||
curl --show-error --fail-with-body --request POST http://"$BINDADDR":"$PORT""$ENDPOINT" \
|
curl --show-error --fail-with-body --request POST http://"$BINDADDR":"$PORT""$ENDPOINT" \
|
||||||
-H "Authorization: $TOKEN" -F "file=@image2.jpg" -F 'tags=["4k HDR", "Fruit", "Yummy"]'
|
-H "Authorization: $TOKEN" -F "file=@image2.jpg" -F 'tags=["4k HDR", "Fruit", "Yummy"]'
|
||||||
|
|
||||||
if test $? -eq 0; then printf "%bTest: Success - $ENDPOINT 2" "$YAY";
|
if test $? -eq 0; then printf "%bTest: Success - $ENDPOINT" "$YAY";
|
||||||
else printf "%bTest: Fail - $ENDPOINT 2" "$NAY"; ERROR=$((ERROR+1));
|
else printf "%bTest: Fail - $ENDPOINT" "$NAY"; ERROR=$((ERROR+1));
|
||||||
fi; printf "%b\n" "$CLR";
|
fi; printf "%b\n" "$CLR";
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue