[Zope] How to call URL with post method from a python script?
Passin, Tom
tpassin at mitretek.org
Thu Oct 23 17:20:52 EDT 2003
[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
More information about the Zope
mailing list