mirror of
https://codeberg.org/forgejo/docs.git
synced 2025-02-02 03:45:09 -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
|
```sh
|
||||||
$ curl --url https://yourusername:password@forgejo.your.host/api/v1/users/<username>/tokens
|
$ 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
|
To use the API with basic authentication with two factor authentication
|
||||||
|
|
Loading…
Add table
Reference in a new issue