No I don't do anything with cookies. Thanks for the tip. I will look into that, I'm not sure what it is.
On Tue, Dec 14, 2010 at 8:03 AM, Roan Kattouw roan.kattouw@gmail.comwrote:
2010/12/14 Tim McKenna tim@sitebuilt.net:
I login manually, send a query to get the edit token(not using curl) and then put that token in the postfields.
I have a http form version that works and makes the edits. The postvar string of that version looks exactly like what comes out of the curl version.
Do you also pass the login cookie back to the edit token request AND the action=edit request?
Roan Kattouw (Catrope)
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api