diff --git a/src/Request.php b/src/Request.php index fa407a5..c2b760a 100644 --- a/src/Request.php +++ b/src/Request.php @@ -12,7 +12,7 @@ abstract class Request { use ObjectAccess; - public $method = "POST"; + public $method = "GET"; public $uri; @@ -35,7 +35,7 @@ public function resolveOptions() if ($this->method == 'GET') { $this->options['query'] = $this->data; } else { - $this->options['form_params'] = $this->data; + $this->options['body'] = $this->data; } }