diff --git a/src/Request.php b/src/Request.php index 324c5dc23..9bb93c8f1 100644 --- a/src/Request.php +++ b/src/Request.php @@ -12,10 +12,10 @@ public function delete($url, $options = []) { return Response::success(['data' => 'Sample data'], 'Request successful'); } - public function post($url, $data = [], $options = []) { return Response::error(400, 'Bad Request', ['error' => 'Invalid data']); + } private function getFields($url, $headers): array { return array(