We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17cfa77 commit 78c53beCopy full SHA for 78c53be
docs/guide/zh-CN/api/user.md
@@ -164,10 +164,10 @@ Null
164
**输入示例**
165
166
```bash
167
-curl -XPOST -H'Content-Type: application/json' -d'{
+curl -XPOST -H'Content-Type: application/json' -H'Authorization: Basic $(echo -n 'foo:Foo@2020'|base64)' -d'{
168
"oldPassword": "Foo@2020",
169
"newPassword": "Foo@2021"
170
-}' http://marmotedu.io:8080/v1/users/foo/change_password
+}' http://marmotedu.io:8080/v1/users/foo/change-password
171
```
172
173
**输出示例**
0 commit comments