commit d46bf88
default
·
2023-05-04 04:40:51 +0000 UTC
parent dd290c8
Updated documentation.
1 files changed,
+2,
-1
+2,
-1
1@@ -241,10 +241,11 @@ http tool like
2 or similar. This has the advantage that you can do it remotely from any host,
3 anywhere; the only thing you need is an API Token. This is an example:
4 .Bd -literal -offset indent
5-curl -X POST https://snac.example.com/api/v1/statuses \
6+curl -X POST https://snac.example.com/api/v1/statuses \\
7 --header "Authorization: Bearer ${TOKEN}" -d "status=$(uptime)"
8 .Ed
9 .Pp
10+You can obtain an API Token from a mobile app.
11 .Sh ENVIRONMENT
12 .Bl -tag -width Ds
13 .It Ev DEBUG