http POSTing

Jeff Kunce kuncej at mail.conservation.state.mo.us
Wed Jan 5 15:52:46 EST 2000


> > For a simple example, see
> >     urlpost.py
> > at
> >     http://starship.python.net/crew/jjkunce/
>
> A very nice example, but perhaps not as simple as it might be?

>From a high-level/black-box point-of-view, it seems prety simple to me:

import urlpost
postdata = {}
postdata['hidd']='en'
postdata['email']='you at yourmail.com'
answer = urlpost.urlpost('www.test.com', postdata)
print answer

And as a bonus, it even works through a firewall :-)

  --Jeff






More information about the Python-list mailing list