Hi Lorna,
Here is my code what I did, but it is not working, can you give some explanation?

$data = array("original_filename"=>$original_filename,"hardware_status"=>$hardware_status,"software_version"=>$software_version,"original_body"=>$original_body,"looqiId"=>$lId,"longitude"=>$lng,"latitude"=>$lat,"battery_voltage"=>$bat,"time_stamp"=>$time_stamp,"_version_"=>$version);

$data_string = json_encode($data);

//return $data_string;

$ch = curl_init('https://looqi-api.movingintelligence.nl/looqireceiver/');

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))
);
curl_setopt($ch, CURLOPT_TIMEOUT, 5);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);

//execute post
$response = curl_exec($ch);

//close connection
curl_close($ch);

return $response;