'Notification in CURL command
i am running one curl command to generate token. This command i am running on commandline. Is there any way to have notification (in email or like prompt or popup) if anyone make typo error? Example if i run below command with typo error(example wrong username or password) , i should get notification ("please check username or password")
curl -s https://login-abc.com/as/token.oauth2 -d response_type="token id_token" -d client_id=test_client -d client_secret=QWEUI12344OIIUEHNCOWM -d grant_type=password -d username=admin -d password=password
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|