We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 637386d commit d4b3e8bCopy full SHA for d4b3e8b
src/CurlRequest.php
@@ -56,10 +56,10 @@ public function prepareSend(): CurlRequest
56
57
// добавляем данные запроса
58
if ('GET' !== $method) {
59
- $type = $this->getHeader('Content-Type');
60
- if (false !== strpos($type, 'application/json')) {
61
- $this->withBodyJson($this->getBody());
62
- }
+ // $type = $this->getHeader('Content-Type');
+ // if (false !== strpos($type, 'application/json')) {
+ // $this->withBodyJson($this->getBody());
+ // }
63
$body = $this->getBody();
64
65
if ('POST' === $method) curl_setopt($ch, CURLOPT_POST, 1);
0 commit comments