http_test.php 219 B

123456789
  1. <?php
  2. include_once(__DIR__.'/HttpUtils.class.php');
  3. // $output = HttpUtils::httpGet("http://localhost:8080");
  4. // var_dump($output);
  5. $output = HttpUtils::httpPost("http://localhost:8080", "hello");
  6. var_dump($output);