I have the following curl post request
$Curl_Session = curl_init($url);
curl_setopt($Curl_Session, CURLOPT_POST, count($post));
curl_setopt($Curl_Session, CURLOPT_POSTFIELDS, "login={$username}&password={$password}");
curl_setopt($Curl_Session, CURLOPT_HTTPHEADER, $headers);
curl_setopt($Curl_Session, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($Curl_Session, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($Curl_Session, CURLOPT_SSL_VERIFYHOST, false );
curl_setopt($Curl_Session, CURLOPT_SSL_VERIFYPEER, false );
$request = curl_exec($Curl_Session);
what does the use of {} means? Can this request be vulnerable to xss ( i mean the login and password parameters)?
It's a curl request with the type set to application/json