diff --git a/admin/client_http.php b/admin/client_http.php new file mode 100644 index 0000000..12164f3 --- /dev/null +++ b/admin/client_http.php @@ -0,0 +1,21 @@ +send(); + if (200 == $response->getStatus()) { + $body = $response->getBody(); + } + } + catch (HTTP_Request2_Exception $ex) { + echo $ex->getMessage(); + } + return $body; +}; +?> \ No newline at end of file