gps-track: http-header-field expects an array

This commit is contained in:
Christian Hesse 2023-10-10 17:39:50 +02:00
parent 1b00f93fc6
commit ef3b8f8ddd

View file

@ -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") . "\"," . \