summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-05-04 06:40:51 +0200
committerdefault <nobody@localhost>2023-05-04 06:40:51 +0200
commitd46bf8837c1c6654868170a293352d12f6d84962 (patch)
treefbda3c0795d2fa4f00609541db3479a3e012d197 /doc
parentdd290c8e226c7d78dc74695d26e28ec8bf4eab26 (diff)
Updated documentation.
Diffstat (limited to 'doc')
-rw-r--r--doc/snac.13
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/snac.1 b/doc/snac.1
index c52eba9..0d36f5d 100644
--- a/doc/snac.1
+++ b/doc/snac.1
@@ -241,10 +241,11 @@ http tool like
or similar. This has the advantage that you can do it remotely from any host,
anywhere; the only thing you need is an API Token. This is an example:
.Bd -literal -offset indent
-curl -X POST https://snac.example.com/api/v1/statuses \
+curl -X POST https://snac.example.com/api/v1/statuses \\
--header "Authorization: Bearer ${TOKEN}" -d "status=$(uptime)"
.Ed
.Pp
+You can obtain an API Token from a mobile app.
.Sh ENVIRONMENT
.Bl -tag -width Ds
.It Ev DEBUG