Skip to content

Commit 249f1e3

Browse files
authored
Merge pull request #34 from Defaultuser0001/master
Fixed use uppercase for http request method
2 parents 532adb6 + a515813 commit 249f1e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Message/RestAbstractRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ protected function getHeaders()
153153
protected function sendRequest($method, $endpoint, $data = null)
154154
{
155155
return $this->httpClient->request(
156-
$method,
156+
strtoupper($method),
157157
$this->getEndpoint() . $endpoint,
158158
$this->getHeaders(),
159159
$data

0 commit comments

Comments
 (0)