Vale, he cambiado a otro hosting que tengo y ahora no me da ningún mensaje, pero es que tampoco me dice nada, la pantalla en blanco, el código que uso es muy simple:
Código PHP:
<?php
$ch = curl_init();
$file= "/overseasSendProperty.json";
$post = array('file' => '@'.$file);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_VERBOSE, false);
curl_setopt($ch, CURLOPT_URL, 'https://adfapi.adftest.rightmove.com/v1/property/overseassendpropertydetails ');
curl_setopt($ch, CURLOPT_BINARYTRANSFER, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json'));
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
$r = curl_exec($ch);
print_r($r);
?>
Al final hay un print_r, al menos debería retornar algún dato... estoy haciendo algo mal?
Gracias.