RE: [Zope] How to call URL with post method from a python script?
23 Oct
2003
23 Oct
'03
9:20 p.m.
[Julian Gollop ]
I am writing a python script that needs to call a script on a remote machine (not necessarily another zope script). I have a large amount of data to pass to this remote script, and using the query string format is unfeasible. So how do I do this?
You can use an External Method. The external method can use, for example, the urlopen() method of the urllib library, or there are newer methods in urllib2. urlopen() can optionally POST a block of data. See the Python library docs for details. Cheers, Tom P
8201
Age (days ago)
8201
Last active (days ago)
0 comments
1 participants
participants (1)
-
Passin, Tom