Запрос:
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://www.my-hammer.de/slim/api/profile/556775?cacheBuster=1537300066333&referrer='); //адрес страницы лога
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Accept: application/json, text/plain, */*',
'Accept-Encoding: gzip, deflate',
'Accept-Language: en-US,en;q=0.5',
'Connection:keep-alive',
'Content-Type: application/json',
'Cookie: orchestra-session=j5ngsrssi2o8t9e8q9dp723gvj; uniqueVisitorId=34d92a75bc9f89b9f4e4e7780ab201ef8b7a60fd
; sales_channel_job_add_source=%7B%22src%22%3A%22Direct%22%2C%22lp%22%3A%22%5C%2Ffirma%5C%2Foptimal-services-garching
%5C%2F%22%7D; sales_channel_tradesman_registration_source=%7B%22src%22%3A%22Direct%22%2C%22lp%22%3A%22
%5C%2Ffirma%5C%2Foptimal-services-garching%5C%2F%22%7D; visid_incap_1777517=d68/weFFS+iF40y8ns+i23E+oVsAAAAAQUIPAAAAAAAN0nOxSxuPGy3vv1hZmIWp
; _gcl_au=1.1.1598419841.1537293937; __atuvc=5%7C38; _ga=GA1.2.170219063.1537293938; _gid=GA1.2.1743546138
.1537293938; cookieconsent_dismissed=yes; userSettings=ag; incap_ses_378_1777517=je43NDTEkEh5k+p1Y+0
+BadVoVsAAAAA0ExJBE0UditJfpiDStjLmw==; __atuvs=5ba155a7fafe8391000',
'Host: www.my-hammer.de',
'Referer: https://www.my-hammer.de/firma/optimal-services-garching/',
'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0',
'x-csrf-token: 91afb283c6f24913c7389fd4bc831472152ed9d2e9aacfcdf5edd59e0e0149b8')
);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, FALSE);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
//curl_setopt($ch, CURLOPT_POSTFIELDS, $json_data);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30);
curl_setopt($ch, CURLOPT_USERAGENT, 'MSE');
$dataz = curl_exec($ch);
curl_close($ch);
//preg_match_all('#"streetAddress": "(.*?)",#su',$dataz,$match);
var_dump($dataz);
В браузере:
А должно быть так: