mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
gps-track: http-header-field expects an array
This commit is contained in:
parent
1b00f93fc6
commit
ef3b8f8ddd
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ $WaitFullyConnected;
|
|||
:if ($Gps->"valid" = true) do={
|
||||
:do {
|
||||
/tool/fetch check-certificate=yes-without-crl $GpsTrackUrl output=none \
|
||||
http-method=post http-header-field="Content-Type: application/json" \
|
||||
http-method=post http-header-field=({ "Content-Type: application/json" }) \
|
||||
http-data=("{" . \
|
||||
"\"lat\":\"" . ($Gps->"latitude") . "\"," . \
|
||||
"\"lon\":\"" . ($Gps->"longitude") . "\"," . \
|
||||
|
|
Loading…
Reference in a new issue