Skip to content

유저정보갱신

JinSeok Hong edited this page Jun 3, 2021 · 13 revisions

유저정보갱신

URL

메소드 경로 설명
PUT /user 회원가입

Request

Header

Content-Type: application/json
Authorization: Bearer jwt

Body

변수 타입 설명
score INT 점수
money INT 게임머니
stage INT 스테이지 클리어여부
{
  "score" : 100,
  "money": 1000,
  "stage": 2
}

Response

Body

SUCCESS

{
   "code":200,
   "message":"유저 정보가 갱신되었습니다"   
}

FAIL

{
  "code": 400,
  "message": "존재하지 않는 계정입니다"
}
{
   "code":500,
   "message":"error가 발생하였습니다"
}

Example

Clone this wiki locally