Skip to content
Youngwoo Park edited this page Sep 6, 2019 · 6 revisions

회원 가입

메소드 경로 짧은 설명
POST /users/signup 회원가입

요청 헤더

Content-Type : application/json,
Authorization : <token>

요청 바디

{
	"user" :{
		"password" : "1234abcd",
    	        "email" : "ywo21@gmail.com",
    	        "name" : "이영우",
    	        "entranceYear" : "14",
    	        "major" : "전자공학과",
		"gender" : "M"
	},
	"keywords" : ["어촌", "일손", "마을공동체"]
}

응답 바디

회원 가입 성공

{
    "status": 201,
    "message": "회원 가입 완료",
    "data": null
}

회원 가입 실패

{
    "status" : 600,
    "message" : "회원 가입 실패",
    "data" : null
}

Clone this wiki locally