aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2019-02-11 21:53:07 +0100
committerGravatar Christian Hesse <mail@eworm.de>2019-02-11 22:00:03 +0100
commite9b4094dba248e7a3df1792008a07c5dc9cb5f3e (patch)
treef4b5b5494697c488cff2b93bf985c6b5fbd21b66
parent5365c6163cf9483d5e0083d52954e653de0d3f58 (diff)
gps-track: replace http-content-type with http-header-fieldrouteros-6.44beta75-3
This changed in 6.44beta75.
-rw-r--r--gps-track2
1 files changed, 1 insertions, 1 deletions
diff --git a/gps-track b/gps-track
index 158821d..3870c60 100644
--- a/gps-track
+++ b/gps-track
@@ -15,7 +15,7 @@ if ($Gps->"valid" = true) do={
:set ($Gps->"longitude") [ :pick ($Gps->"longitude") 0 [ :find ($Gps->"longitude") "\00" ] ];
:tool fetch mode=https check-certificate=yes-without-crl \
$GpsTrackUrl keep-result=no \
- http-method=post http-content-type="application/json" \
+ http-method=post http-header-field="Content-Type: application/json" \
http-data=("{" . \
"\"lat\":\"" . ($Gps->"latitude") . "\"," . \
"\"lon\":\"" . ($Gps->"longitude") . "\"," . \