User:Zaycodes/Sandbox/API:Mergehistory

POST request to merge page histories.

Example
Making any POST request is a multi-step process:


 * 1) Log in, via one of the methods described on.
 * 2) GET an edit/CSRF token as shown here API:Tokens
 * 3) Send a POST request, with the CSRF token, to me rge page histories.

The sample codes below cover these steps.

Additional notes

 * Special:MergeHistory is a that makes it possible to automatically merge the history of two pages. However, this feature is only accessible for users with the.