The login process is completed through a three-step process:
-
Enter user name and password
curl --user username:passwd --cookie-jar ./file_a website/account/login -
Authorise in next page
curl --cookie ./file_a website/account/index -
Approve via time duration needed
curl --cookie ./file_a website/account/approve
I used the above curl commands through a shell script, but it is not working.
I am sure in the third stage I have to mention the time-duration I am requesting for access license. Two options are available: 60 minutes and 1 hour.
Can anyone help me complete the work?
Aucun commentaire:
Enregistrer un commentaire