no need to check http code now
This commit is contained in:
parent
0de26fb4c2
commit
480754a82f
@ -5,7 +5,7 @@ do
|
||||
source .env
|
||||
COUNT=$(echo $[$COUNT+1]); echo Count: $COUNT
|
||||
REQUEST=$(curl -si $BML_URL/login > .cache); cat .cache; echo ""
|
||||
HTTPCODE=$(cat .cache | head -n1 | awk '{print $2}'); echo HTTP: $HTTPCODE
|
||||
# HTTPCODE=$(cat .cache | head -n1 | awk '{print $2}'); echo HTTP: $HTTPCODE
|
||||
JCODE=$(cat .cache | tail -n1 | jq .code); echo Json Code: $JCODE
|
||||
if [ "$JCODE" = "0" ]
|
||||
then
|
||||
|
Loading…
x
Reference in New Issue
Block a user