"m.text", "body" => $message]) ); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "PUT"); curl_exec($ch); }