From 5fb3556686a597f329e647f49bd758e3801382d5 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Fri, 24 Nov 2023 14:03:49 +0100 Subject: [PATCH] README.md aktualisiert --- README.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 14e7242..f71bfa3 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,27 @@ Example: curl -X POST -H "Content-Type: application/json" \ -H "X-Limit-U: your_user" \ -H "X-Limit-D: your_device" \ - -d '{"_type": "location", "tst": 1637650367, "lat": 37.7749, "lon": -122.4194, "tid": "123", "batt": 90, "vac": 220}' \ + -H "Authorization: Basic your_token" \ + -d '{ + "_type": "location", + "tst": 1700820453, + "lat": 37.7749, + "lon": -122.4194, + "alt": 90, + "batt": 94, + "acc": 35, + "bs": 2, + "p": 99.314, + "created_at": 1700820457, + "BSSID": "e8:48:b8:7f:b4:d4", + "SSID": "Mr.Puhu", + "vac": 20, + "tag": "Arbeit", + "topic": "owntracks/simono41/6193B679-AD67-4B93-9DF2-158501A055AF", + "conn": "w", + "m": 1, + "tid": "AF" + }' \ http://localhost:8080/ ```