gitignore update:
This commit is contained in:
parent
c1d303a3e5
commit
d3c9f9efc8
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,4 +1,2 @@
|
|||||||
.env
|
.env
|
||||||
.cache/
|
.cache/cookie
|
||||||
.cache/*
|
|
||||||
.cache
|
|
||||||
|
@ -9,10 +9,22 @@ source .env
|
|||||||
$curl -s -c $COOKIE $BML_URL/login \
|
$curl -s -c $COOKIE $BML_URL/login \
|
||||||
--data-raw username=$BML_USERNAME \
|
--data-raw username=$BML_USERNAME \
|
||||||
--data-raw password=${BML_PASSWORD}
|
--data-raw password=${BML_PASSWORD}
|
||||||
|
echo ""
|
||||||
|
echo "Login done"; sleep 2
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
|
||||||
# Get profiles and select personal profile
|
# Get profiles and select personal profile
|
||||||
PROFILE=$($curl -s -b $COOKIE $BML_URL/profile | jq -r '.payload | .profile | .[] | .profile' | head -n 1)
|
#$curl -s -b $COOKIE $BML_URL/profile | jq -r '.payload | .profile | .[] | .profile' | head -n 1
|
||||||
$curl -s -b $COOKIE $BML_URL/profile \
|
$curl -s -b $COOKIE $BML_URL/profile
|
||||||
--data-raw profile=$PROFILE >> /dev/null
|
echo ""
|
||||||
|
echo "Get Profile done"; sleep 2
|
||||||
|
echo ""
|
||||||
|
|
||||||
$curl -s -c $COOKIE $BML_URL/api/dashboard
|
|
||||||
|
|
||||||
|
#PROFILE=$($curl -s -b $COOKIE $BML_URL/profile | jq -r '.payload | .profile | .[] | .profile' | head -n 1)
|
||||||
|
#$curl -s -b $COOKIE $BML_URL/profile \
|
||||||
|
# --data-raw profile=$PROFILE >> /dev/null
|
||||||
|
#
|
||||||
|
#$curl -s -c $COOKIE $BML_URL/api/dashboard
|
||||||
|
Loading…
x
Reference in New Issue
Block a user