public static function getToken()
{
$service_url = 'http://mpop-sit.hepsiburada.com/api/authenticate';
$data='{
"username": "XXXX_dev",
"password": "!WXXXXJfVNl",
"authenticationType": "INTEGRATOR"
}';
$curl = curl_init($service_url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, 'POST');
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
$header = array(
'Content-Type: application/json'
);
curl_setopt($curl, CURLOPT_HTTPHEADER, $header);
$response = curl_exec($curl); /*Dönen Ham Veri*/
return $response;
}Çıktı: This object may be found hereYardımlarınızı rica ediyorum