On 2010-06-22 08:03, Eric Sun wrote:
I'm trying to run action=query in Python with a
POST request, but for some
reason it only works with a GET.
[...]
This doesn't work (POST):
'action=query&titles=The_Matrix&export&format=txt')
Giving the export key a value will work:
'action=query&titles=The_Matrix&export=1&format=txt'
--
Jim Tittsler
http://www.OnNZ.net/ GPG: 0x01159DB6
Python Starship
http://Starship.Python.net/crew/jwt/
Mailman IRC
irc://irc.freenode.net/#mailman