Thread:Project:Support desk/How to use API:Edit to edit the content of a section, but maintain the title of the section/reply (2)

Thank you for replying! I am learning how to use mediawiki API editing pages and testing on my local server. The previous page is like as following: Page Title ....   Section 1 ....   Section 2 .... I want to change the content of section 1. I set the parameter "section" as "section('1')" and add the parameter "text(...)" followed by. Then I run the script (written in PHP), the content of Section 1 changed, but the title "Section 1" was missed. I want to keep the title. How can I do?