회원 로그아웃

HTTP request

POST /token/logout HTTP/1.1
Content-Type: application/json;charset=UTF-8
Authorization: "access token"
Host: localhost:8080

HTTP response

HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 20

{
  "status" : 200
}

Response fields

Path Type Description

status

Number

status

Access Token 재발급

HTTP request

POST /token/refresh HTTP/1.1
Content-Type: application/json;charset=UTF-8
Authorization: "access token"
Host: localhost:8080

HTTP response

HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 56

{
  "status" : 200,
  "accessToken" : "newAccessToken"
}

Response fields

Path Type Description

status

Number

status

accessToken

String

accessToken