Hello, I'm trying to make a web bot that fills out a login form from this at&t site
http://www.viewmymessage.com/en/legacy/login.jsp
I cannot seem to get it to work though here is my code:
import urllib
import urllib2
url = 'http://www.viewmymessage.com/en/legacy/login.jsp'
user_agent = 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)'
values = {'messageId' : 'i1stbnan7','password' : 'tax3akin'}
headers = { 'User-Agent' : user_agent }
data = urllib.urlencode(values)
req = urllib2.Request(url, data)
response = urllib2.urlopen(req)
print response.read()