Skip to content

Commit

Permalink
Update SMS.php
Browse files Browse the repository at this point in the history
fixed get req
  • Loading branch information
md-riaz authored Mar 24, 2024
1 parent 956e9b7 commit 2652068
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/SMS.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ private function makeRequest($method, $url, $params)
];

if ($method === 'GET') {
$options[RequestOptions::QUERY] = $params;
$response = $client->get($url, $options);
} else {
$options[RequestOptions::FORM_PARAMS] = $params;
Expand Down

0 comments on commit 2652068

Please sign in to comment.