@johnsharon said in How to login to any site using HTTP client in BAS?:
How to login to any site using HTTP client in BAS?
you must repeat the same requests that your site sends after you click the login button.
@support said in How to save cookies when login from text file?:
@zaza Take a look at this template. 0_1476964866734_twitterautologin.xml it implements autologin for twitter.
Cookies for every account are saved to different files, but you can modify it to write in one file.
Thank you for the response. But i am looking for autologin and auto save cookies to each accounts separately when we use the account details from a text file for multiple accounts.
eg for text file -
login1:pass1
login2:pass2
login3:pass3
How to save cookies for the accounts to autologin in such cases?
@zaza said in How to save cookies when login from text file?:
@support Any update?
@zaza If you need to save cookies data to same files, you need manually update file:
Save it to list. (Read File To List action)
Do foreach.
Find account, that you using. (If action)
Generate line login:pass:cookies. (just add cookies data to that line with Set Variable action)
Update list with that line. (Set Element action)
Save list to file. (Write List To File action)
If you don't have requirment to save everything in one file, you can still use my example, it will work with multiple accounts.