POST请求

    1. <?php
    2. $requestBody = array(
    3. 'lang' => 'php',
    4. 'ver' => 'any'
    5. );
    6. $http = HttpRequest::newSession();
    7. $response = $http->post('http://www.baidu.com/', $requestBody);