Skip to content

Commit

Permalink
Merge pull request #34 from Defaultuser0001/master
Browse files Browse the repository at this point in the history
Fixed use uppercase for http request method
  • Loading branch information
barryvdh committed Jun 18, 2020
2 parents 532adb6 + a515813 commit 249f1e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Message/RestAbstractRequest.php
Expand Up @@ -153,7 +153,7 @@ protected function getHeaders()
protected function sendRequest($method, $endpoint, $data = null)
{
return $this->httpClient->request(
$method,
strtoupper($method),
$this->getEndpoint() . $endpoint,
$this->getHeaders(),
$data
Expand Down

0 comments on commit 249f1e3

Please sign in to comment.