shell - How to use curl commands in multiple web login -


the login process completed through three-step process:

  1. enter user name , password

    curl --user username:passwd --cookie-jar ./file_a website/account/login 
  2. authorise in next page

    curl --cookie ./file_a website/account/index  
  3. approve via time duration needed

    curl --cookie ./file_a website/account/approve  

i used above curl commands through shell script, not working.

i sure in third stage have mention time-duration requesting access license. 2 options available: 60 minutes , 1 hour.

can me complete work?


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

What is happening when Matlab is starting a "parallel pool"? -