Auth

로그인, 회원가입

Login

POST /api/auth/login

로그인 요청

Request Body

Name
Type
Description

user_id

string

test01

password

string

123456

{ data: { token: token }, msg: "로그인 성공!" }

Signup

POST /api/auth/signup

회원가입 요청

Request Body

Name
Type
Description

user_id

string

test01

password

string

123456

name

string

홍길동

{ msg: "회원가입 되었습니다." }

Last updated

Was this helpful?