tedpot...@gmail.com tedpot...@gmail.com (t) wrote:
t Hi,
t I'm trying to post data to a short test script in php I wrote.
t The python code to do the post is
t import httplib
t #server address
t conn = httplib.HTTPConnection(localhost)
headers = {Content-type:
Hi,
I'm trying to post data to a short test script in php I wrote.
The python code to do the post is
import httplib
#server address
conn = httplib.HTTPConnection(localhost)
#file location
conn.request(POST, /programming/bots/test.php,ted=fred)
r1 = conn.getresponse()
print r1.status, r1.reason
On Sep 29, 10:24 am, tedpot...@gmail.com tedpot...@gmail.com
wrote:
Hi,
I'm trying to post data to a short test script in php I wrote.
The python code to do the post is
import httplib
#server address
conn = httplib.HTTPConnection(localhost)
#file location
conn.request(POST,