httpClient post body json mentah

$response = Http::contentType('application/json')->send('POST', 'https://google.com', [
  'body' => '{"parameter1":"value1","parameter2":"value2"}'
])->body();
Coding Era