Skip to content

Commit

Permalink
Get request all param include in URL
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouaini528 committed Apr 18, 2022
1 parent 94afe86 commit 1357d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ protected function options(){
protected function send(){
$client = new \GuzzleHttp\Client();

if(!empty($this->data)) {
if(!empty($this->data) && $this->type!='GET') {
$this->options['body']=json_encode($this->data);
}

Expand Down

0 comments on commit 1357d4b

Please sign in to comment.