We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ad0190 commit b42aaf2Copy full SHA for b42aaf2
docs/content/doc/developers/api-usage.en-us.md
@@ -49,7 +49,7 @@ Note that `/users/:name/tokens` is a special endpoint and requires you
49
to authenticate using `BasicAuth` and a password, as follows:
50
51
```sh
52
-$ curl -H "Content-Type: application/json" -k -d '{"name":"test"}' -u username:password https://gitea.your.host/api/v1/users/<username>/tokens
+$ curl -H "Content-Type: application/json" -d '{"name":"test"}' -u username:password https://gitea.your.host/api/v1/users/<username>/tokens
53
{"id":1,"name":"test","sha1":"9fcb1158165773dd010fca5f0cf7174316c3e37d","token_last_eight":"16c3e37d"}
54
```
55
0 commit comments