Skip to content

Commit fb1aa03

Browse files
committed
Fix get a token request that cause invalid json response
1 parent 262ebf0 commit fb1aa03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/rest-api/security.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ curl -X POST http://your-host/api/oauth/v1/token \
154154
-H "Authorization: Basic YOUR_BASE_64_CLIENT_ID_AND_SECRET" \
155155
-d '{
156156
"grant_type": "password",
157-
"username": your_username,
158-
"password": your_password
157+
"username": "your_username",
158+
"password": "your_password"
159159
}'
160160
```
161161

0 commit comments

Comments
 (0)