From ef3b8f8ddd9a222df252a6c9e986d2330072ec7f Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 10 Oct 2023 17:39:50 +0200 Subject: gps-track: http-header-field expects an array --- gps-track.rsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") . "\"," . \ -- cgit v1.2.3-54-g00ecf