API:ChangeContentModel

POST request to change the content model of a page.

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

  Log in, via one of the methods described on .   GET a.

  Send a POST request, with the CSRF token, to take action on a page.  

The sample code below covers the final step in detail.