2011/3/3  <richardcav...@mail.com>:
> Hi everyone.  Looking at this page:
> http://www.mediawiki.org/wiki/API:Edit
>
> There are many parameters that can be set when sending an HTTP POST
> with the intention of doing an edit.  Do all of the parameters go in
> the URL?  Can I shift some of them into the HTTP POST in the body of
> the request?
>
> In particular, where does the new text go?  Does that go as a form item
> in the body of the request?
>
Any combination of the two is fine: the API doesn't care whether a
parameter is in a query string or in the POST body. Of course, it's
wise to put things like the new text in the POST body to avoid hitting
URL length limits.

Roan Kattouw (Catrope)

_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to