aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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") . "\"," . \