Forwarding not getting any data.

dneb2 years ago

Hello, today i upgraded traccar to 5.5, but using the same configuration on forwarding i am not getting any forwarded data from server.

<entry key='forward.enable'>true</entry>
<entry key='forward.url'>http://127.0.0.1/traccar/forward.php</entry>
<entry key='forward.json'>true</entry>

on forward.php

$request_body = file_get_contents('php://input');
$data = json_decode($request_body, true);

but empty response is coming to server. what should i change or modify. since its not working after updating to Version 5.5

Anton Tananaev2 years ago

The forward.json parameter was replaced. Please check the config documentation.