original_string: public function post($url, $params = [])
      {
          $req = $url instanceof Request ? $url : $this->buildRequest('POST', $url);
          foreach ($params as $key => $value) {
              $req->addPostField($key, $value);
          }
          return $this->exec($req);
      }
code: public function post($url, $params = [])
      {
          $req = $url instanceof Request ? $url : $this->buildRequest('POST', $url);
          foreach ($params as $key => $value) {
              $req->addPostField($key, $value);
          }
          return $this->exec($req);
      }
code_tokens: public function post ( $ url , $ params = [ ] ) { $ req = $ url instanceof Request ? $ url : $ this -> buildRequest ( 'POST' , $ url ) ; foreach ( $ params as $ key => $ value ) { $ req -> addPostField ( $ key , $ value ) ; } return $ this -> exec ( $ req ) ; }
docstring: Shortcut of POST request
  @param string|Request $url request URL string, or request object.
  @param array $params post fields.
  @return Response result response object.
docstring_tokens: Shortcut of POST request