$response=$client->request("POST",$url,[
"body"=>$soap,
"auth"=>["blabla","blabla"]
'headers' => [
'Content-Type' => 'text/xml; charset=UTF8',
],
]);
my php code but I want set auth type, how I can set auth type?
$response=$client->request("POST",$url,[
"body"=>$soap,
"auth"=>["blabla","blabla"]
'headers' => [
'Content-Type' => 'text/xml; charset=UTF8',
],
]);
my php code but I want set auth type, how I can set auth type?
The authentication type can be passed as the third item in the "auth" array and can be any of "basic", "digest", "ntlm"