1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-24 07:03:03 +02:00

Updated Setting up Authentication (markdown)

Nick Sweeting
2024-05-08 20:23:18 -07:00
parent 30df2cd6e8
commit c3845d977e

@@ -144,7 +144,7 @@ To see API docs, try endpoints interactively, and see how auth works, visit this
To get started using the REST API, you can generate an API key for your user in the Admin Web UI:
[`http://127.0.0.1:8000/admin/api/apitoken/add/`](http://127.0.0.1:8000/admin/api/apitoken/add/)
or by calling the `http://127.0.0.1:8000/api/v1/auth/get_api_token` endpoint:
or by calling the `http://127.0.0.1:8000/api/v1/auth/get_api_token` endpoint with a username & pass:
```bash
curl -X 'POST' \
'http://127.0.0.1:8000/api/v1/auth/get_api_token' \