Skip to content

Commit 4b74924

Browse files
authored
Update Curl.php
1 parent 2fe2614 commit 4b74924

File tree

1 file changed

+3
-2
lines changed
  • lib/internal/Magento/Framework/HTTP/Client

1 file changed

+3
-2
lines changed

lib/internal/Magento/Framework/HTTP/Client/Curl.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,13 +232,14 @@ public function get($uri)
232232
*
233233
* @param string $uri
234234
* @param array $params
235+
* @param bool $json
235236
* @return void
236237
*
237238
* @see \Magento\Framework\HTTP\Client#post($uri, $params)
238239
*/
239-
public function post($uri, $params)
240+
public function post($uri, $params, $json = false)
240241
{
241-
$this->makeRequest("POST", $uri, $params);
242+
$this->makeRequest("POST", $uri, $params, $json = false);
242243
}
243244

244245
/**

0 commit comments

Comments
 (0)