API:How to make a PHP request

How to make a request in PHP
For a beginning MediaWiki developer, this link is the most important:


 * api>Special:MyLanguage/API:Calling internally|API:Calling internally

The sample invocation below includes all options for


 * [//en.wikipedia.org/w/api.php?action=edit&title=Talk:Main_Page&section=new&summary=Hello%20World&text=Hello%20everyone!&watch&basetimestamp=2008-03-20T17:26:39Z&token=cecded1f35005d22904a35cc7b736e18%2B%5C action=edit]

And here:



The code to create a new page section using  is: