mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-22 03:30:49 +00:00
Fix sniff violation
This commit is contained in:
@@ -15,7 +15,7 @@ $data = array(
|
||||
);
|
||||
|
||||
$curl = new Curl();
|
||||
$curl->setDefaultJsonDecoder($assoc=true);
|
||||
$curl->setDefaultJsonDecoder($assoc = true);
|
||||
$curl->setHeader('Content-Type', 'application/json');
|
||||
$curl->post('https://httpbin.org/post', $data);
|
||||
var_dump($curl->response['json']);
|
||||
|
||||
Reference in New Issue
Block a user