... | @@ -71,3 +71,29 @@ Content-Length: 776 |
... | @@ -71,3 +71,29 @@ Content-Length: 776 |
|
}
|
|
}
|
|
|
|
|
|
```
|
|
```
|
|
|
|
PFAL command example to send JSON data
|
|
|
|
```
|
|
|
|
$PFAL,TCP.JSON.Send,"http://62.91.82.12:4451/dashboard/info.php",0,"{\'title\':\'FOX3 sends JSON message directly\',\'body\':\'IMEI\':&(IMEI),\'IGN\':&(IO8),\'Lat\':&(Lat),\'Lon\':&(Lon),\'Spd\':&(Speed.kmh)km/h,\'Power\':&(Power)V,\'}"
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
HTTP POST
|
|
|
|
```
|
|
|
|
POST /dashboard/info.php HTTP/1.0
|
|
|
|
HOST: 62.91.82.12
|
|
|
|
User-Agent: AVL/3.0
|
|
|
|
Content-Type: application/json; charset=utf-8
|
|
|
|
Content-Length: 149
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
"title": "FOX3 sends JSON message directly",
|
|
|
|
"body": "IMEI": 359486060345574,
|
|
|
|
"IGN": 1,
|
|
|
|
"Lat": 50.6734740,
|
|
|
|
"Lon": 10.9809194,
|
|
|
|
"Spd": 0.04km/h,
|
|
|
|
"Power": 15.149V,
|
|
|
|
"}
|
|
|
|
|
|
|
|
``` |
|
|
|
\ No newline at end of file |