You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
362 B
20 lines
362 B
8 months ago
|
### 로그인
|
||
|
@userId = user
|
||
|
@password = 1234
|
||
|
|
||
|
POST {{host}}/v1/login
|
||
|
Authorization: Bearer {{authToken}} // 토큰이 있을 경우 필터에 걸리는지 확인하기 위한 조치
|
||
|
Content-Type: application/json
|
||
|
|
||
|
{
|
||
|
"userId": "{{userId}}",
|
||
|
"password": "{{password}}"
|
||
|
}
|
||
|
|
||
|
> {%
|
||
|
client.global.set("authToken", response.headers.valueOf("Auth-Token"));
|
||
|
%}
|
||
|
|
||
|
|
||
|
|