Larus adlı üyeden alıntı: mesajı görüntüle
$data = array("username" => "asdasd", "password" => "asdasd","authenticationType" => "INTEGRATOR" );                                                                    $data_string = json_encode($data);                                                                                                                                                                                                        $ch = curl_init('[URL]https://mpop-sit.hepsiburada.com/api/authenticate/[/URL]');                                                                      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");                                                                     curl_setopt($ch, CURLOPT_POSTFIELDS, $data_string);                                                                  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);                                                                      curl_setopt($ch, CURLOPT_HTTPHEADER, array(                                                                              'Content-Type: application/json',                                                                                    'Content-Length: ' . strlen($data_string))                                                                       );                                                                                                                                                                                                                                        $result = curl_exec($ch);
şeklinde dener misiniz ? header olarak değil json body olarak istiyor sizden datayı
Teşekkür ederim.
Daha önce de buna benzer bir örnek yaparak denedim, 401-Access Denied hatası aldım. Destek sorun yok dedi ama erişim hatası olduğunu görüyorum. Sorun ne gerçekten anlamadım.