Skip to content

Commit 9285cd9

Browse files
committed
fix content type x-www-form-urlencoded
1 parent 0e0f380 commit 9285cd9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lab01/password-server/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
### 1. 获取访问令牌
77

8-
curl -X POST --user clientapp:112233 http://localhost:8080/oauth/token -H "accept: application/json" -H "content-type: application/x-www-formurlencoded" -d "grant_type=password&username=bobo&password=xyz&scope=read_userinfo"
8+
curl -X POST --user clientapp:112233 http://localhost:8080/oauth/token -H "accept: application/json" -H "content-type: application/x-www-form-urlencoded" -d "grant_type=password&username=bobo&password=xyz&scope=read_userinfo"
99

1010
响应案例:
1111

0 commit comments

Comments
 (0)