hpds_jkw_web/test/user.http

12 lines
510 B
Plaintext
Raw Normal View History

2023-01-06 10:09:23 +08:00
### 登录
POST http://localhost:8088/user/login
Content-Type: application/json
{"username": "18906517788", "password": "123456"}
### 获取用户信息
GET http://localhost:8088/user/getUserInfo
Content-Type: application/json
Cookie: token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdmF0YXIiOiIiLCJkZXNjIjoiIiwiaG9tZVBhdGgiOiIiLCJyZWFsTmFtZSI6IueOi-WJkSIsInJvbGVzIjpudWxsLCJ1c2VySWQiOjEsInBob25lIjoiMTg5MDY1MTc3ODgiLCJleHAiOjE2NzI5NzczODQsImlzcyI6IuS6pOenkemZoiJ9.8Zzp7efRlapptYYpvbc3hpHrKaAov0AJ7gYD8w9BZ2c