Forum Discussion
zzhang39
Jun 24, 2024Altostratus
Here's the scipt which works at 12.1.3, we do use loginProviderName toms.
Can you advice where to check "/var/log/restjavad.0.log"?
F5url="https://<example.com>/mgmt/shared/authn/login"
response=$(curl -X POST $F5url \
-H "Content-Type: application/json" \
-d "{
\"username\": \"$username\",
\"password\": \"$password\",
\"loginProviderName\": \"tmos\"
}" -k -s)
echo "Response from server:"
echo "$response"