Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

AccountControler

POST/api/account/login
로그인후 자신의 계정처리에 필요한 accessToken을 할당받습니다.

Parameters

NameDescription
user
(body)

Responses

Curl

Request URL

http://localhost:5000/api/account/login

Server response

CodeDetails
200
Response body
Download
{ "nick": "Mynick1", "accessToken": "NnJGUFY5akkwRTJ2Q2F3THVzdlZNUT09" }
Response headers
 content-type: application/json; charset=utf-8  date: Fri, 28 Sep 2018 17:04:28 GMT  server: Kestrel  transfer-encoding: chunked 

Responses

CodeDescription
200
Success
{ "nick": "string", "accessToken": "string" }