2010/3/11 Krenar Qehaja <kedadi(a)gmail.com>om>:
Last couple of days, I was trying to write a script around WP API
) and I'm struggling with "action=edit"
while trying to edit a page because there seems to be limitation to the POST
The error that I'm receiving is vague:
Request: POST http://en.wikipedia.org/w/api.php?action=edit&format=xml
from 220.127.116.11 via knsq23.knams.wikimedia.org
(squid/2.7.STABLE6) to ()
Error: ERR_INVALID_REQ, errno [No Error] at Thu, 11 Mar 2010 11:46:27 GMT
AFAICS there is no problem with POST size up to 2.5KB, anything more than that
results with that error.
So, is there any size limitation regarding POST?
No, there are no such limitations. ERR_INVALID_REQ seems to indicate
there's something wrong with your request, could you pastebin an
example of a full request that fails, including all headers? Also,
does retrying the request help?
Roan Kattouw (Catrope)