gitignore update:
This commit is contained in:
parent
c1d303a3e5
commit
d3c9f9efc8
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,4 +1,2 @@
|
||||
.env
|
||||
.cache/
|
||||
.cache/*
|
||||
.cache
|
||||
.cache/cookie
|
||||
|
@ -9,10 +9,22 @@ source .env
|
||||
$curl -s -c $COOKIE $BML_URL/login \
|
||||
--data-raw username=$BML_USERNAME \
|
||||
--data-raw password=${BML_PASSWORD}
|
||||
echo ""
|
||||
echo "Login done"; sleep 2
|
||||
echo ""
|
||||
|
||||
|
||||
# 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 \
|
||||
--data-raw profile=$PROFILE >> /dev/null
|
||||
#$curl -s -b $COOKIE $BML_URL/profile | jq -r '.payload | .profile | .[] | .profile' | head -n 1
|
||||
$curl -s -b $COOKIE $BML_URL/profile
|
||||
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