Login RestAPIs
662 ワード
Auth
User Schema
{
id: string // 사용자의 고유한 아이디
name: string, // 사용자 닉네임
password: string, // 사용자 비밀번호
email: string, // 사용자 이메일
}
POST/auth/signup
Reqeust
{
name,
password,
email,
}
Response{
token,
username
}
POST/auth/login
Reqeust
{
name,
password
}
Response {
token,
username
}
GET /auth/me
{
token,
username
}
Reference
この問題について(Login RestAPIs), 我々は、より多くの情報をここで見つけました https://velog.io/@hyunjoong/Login-RestAPIsテキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol