$params = [
"jsonrpc" => "2.0",
"method" => "create",
"id" => "1",
"params" => ["id" => $id],
];
$client = new Client([
'headers' => ['Content-Type' => 'application/json'],
]);
$response = $client->post('example.com/jsonrpc', ['body' => json_encode($params)]);