diff options
author | Christian Hesse <mail@eworm.de> | 2019-02-11 21:53:07 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2019-02-11 22:00:03 +0100 |
commit | e9b4094dba248e7a3df1792008a07c5dc9cb5f3e (patch) | |
tree | f4b5b5494697c488cff2b93bf985c6b5fbd21b66 | |
parent | 5365c6163cf9483d5e0083d52954e653de0d3f58 (diff) |
gps-track: replace http-content-type with http-header-fieldrouteros-6.44beta75-3
This changed in 6.44beta75.
-rw-r--r-- | gps-track | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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") . "\"," . \ |