aboutsummaryrefslogtreecommitdiffstats
path: root/gps-track.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-10-10 17:39:50 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-10-17 14:05:03 +0200
commitef3b8f8ddd9a222df252a6c9e986d2330072ec7f (patch)
tree2642c441c5dd3c70a965276ab9b6dc28cfc7e187 /gps-track.rsc
parent1b00f93fc6af2c5f94f9b32927bf278fb55713d5 (diff)
gps-track: http-header-field expects an array
Diffstat (limited to 'gps-track.rsc')
-rw-r--r--gps-track.rsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gps-track.rsc b/gps-track.rsc
index 0d328d5..86506b8 100644
--- a/gps-track.rsc
+++ b/gps-track.rsc
@@ -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") . "\"," . \