Hey Pythoners,<div><br></div><div>its my first post here, yay!</div><div><br></div><div>I'm trying to develop a script that will return the results of a POST request that should list all images uploaded by a user.  However, when i run the script, i get returned the HTML of the page with the search form.  I am wondering what am i doing incorrectly?  Is it something I'm doing or is the imagebin server rejecting my request?</div>

<div><br></div><div>here's the code:</div><div><br></div><div><div>import urllib</div><div>import urllib2</div><div>url = '<a href="http://imagebin.org/index.php?page=search">http://imagebin.org/index.php?page=search</a>'</div>

<div>values = {'search_for' : 'blah', 'field' : 'Nickname'}</div><div>data = urllib.urlencode(values)</div><div>request = urllib2.Request(url, data)</div><div>response = urllib2.urlopen(request)</div>

<div>page = response.read()</div><div>print page</div><div><br></div><div>tks, pythons great</div></div>