Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var test = setInterval(function(){
- request.post({url: myURL, form: {
- user : myUser,
- pass : myPass
- function(err,res,body){
- if(res.statusCode === 302) clearInterval(test);
- })
- }, 1100)
- setInterval(function(){
- var that = this;
- request.post({url: myURL, form: {
- user : myUser,
- pass : myPass
- function(err,res,body){
- if(res.statusCode === 302) clearInterval(that);
- })
- }, 1100)
Add Comment
Please, Sign In to add comment