mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-12-24 22:32:43 -05:00
docs: fix syntax error in example JSON returned from request
# Conflicts: # v1.20/user/api-usage.md
This commit is contained in:
parent
7f5c6d2bb8
commit
24fe27de85
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ request; e.g.
|
|||
|
||||
```sh
|
||||
$ curl --url https://yourusername:password@forgejo.your.host/api/v1/users/<username>/tokens
|
||||
[{"name":"test","sha1":"","token_last_eight:"........":},{"name":"dev","sha1":"","token_last_eight":"........"}]
|
||||
[{"name":"test","sha1":"","token_last_eight":"........"},{"name":"dev","sha1":"","token_last_eight":"........"}]
|
||||
```
|
||||
|
||||
To use the API with basic authentication with two factor authentication
|
||||
|
|
Loading…
Reference in a new issue