Phonetrack, Http GET

Good evening,

Does any one have a sample on how the HTTP GET sentence needs to look containing the propper formating for GPS and time stamp.

Trying to set up a script on some servers that will pull the GPS position from a NMEA serial string and then report it to my Phonetrack app via curl.

Best regard John

Hi, it should look like that:

https://your.nextcloud.org/index.php/apps/phonetrack/logGet/7a56a052dfe2d1ff8eb83af7a92b219d/yourdevicename?lat=3.4565&lon=40.39584&alt=20&acc=30&bat=50&sat=10&speed=3.5&bearing=120&timestamp=1552202457

Regards,
Julien

1 Like

Hi,

Thank’s for the awnser, is there any specific format for the timestamp? Im thinking the format is something like:
hhmmss but is the rest of the value year month day ?

The timestamp is in “epoch” format : https://www.epochconverter.com

It’s actually the number of seconds since 1st January of 1970.

1 Like