Skip to content
razelo992 edited this page Sep 25, 2021 · 11 revisions

EBB-springboot Wiki


[Post] ~/main/login

  • Request-Header

    Content-Type : application/json

  • Request-body

    id : String
    password: String

  • Response-body

    status: int
    success: boolean
    message: String

  • SUCCESS - RETURN

      {
          "status": 200,
          "success": true,
          "message": "로그인이 성공적으로 이루어졌습니다."   
       }
    
    

[Post] ~/main/signup

  • Request-Header

    Content-Type : application/json

  • Request-body

    id : String
    password: String

  • Response-body

    status: int
    success: boolean
    message: String

  • SUCCESS - RETURN

      {
          "status": 200,
          "success": true,
          "message": "회원가입이 완료되었습니다."   
       }
    
    

[Post] ~/main/game/update_score

  • Request-Header

    Content-Type : application/json

  • Request-body

    id : String
    password: String
    score: int


[Get] ~/main/ranking

  • Request-Header

    Content-Type : application/json

  • Response-body

    id : String
    password: String
    score: int

  • SUCCESS - RETURN

      {{
          "id": "domino11",
          "password": "aeao1111ff",
          "score": 55   
       },
       {
          "id": "thanos11",
          "password": "planet243",
          "score": 100
       },
       {
          "id": "avengers42",
          "password": "earth4234",
          "score": 1023   
       }}