PHPUnit-POST request Interface Test method for Interface Automation Test Series
Post request Interface Test-enhanced Universal Edition
Knowing how to write the get request API, post is very simple. Basically, you can just follow the picture. Pay attention to the parameters. The code is as follows: