User:User:Dikshagupta99/Sandbox/API:Get the contents of a page

GET request to retrieve the contents of a page. There are three main methods for retrieving page contents via the API:
 * 1) Get data about the set of pages by setting titles or page ids(for retrieving wikitext)
 * 2) Specify content explicitely using text, title, revid and content model(for retrieving parsed content)
 * 3) Return plain text or limited HTML extracts of a given page.

Parameters