How to send a POST request?
kj
socyl at 987jk.com.invalid
Fri Jun 6 18:04:26 EDT 2008
In <g2cc24$638$1 at reader2.panix.com> kj <socyl at 987jk.com.invalid> writes:
>Hi. Sorry for this very clueless question, but how does one write
>in Python an HTTP client that can send a POST request? The modules
>I've found (e.g. urllib, urllib2), as far as I can tell, seem to
>be limited to GET requests. (I could be wrong though; please
>correct me if this is so.)
Sorry, my mistake. I now see that urllib2 handles POSTs too.
kynn
--
NOTE: In my address everything before the first period is backwards;
and the last period, and everything after it, should be discarded.
More information about the Python-list
mailing list