토큰 발급(로그인)
create token
POST http://api.phopo.best/api/token
'sending으로 바인딩 할 필요없음'
Request Body
Name
Type
Description
user_type
integer
'일반 계정 로그인 - 9000 구글 계정 로그인 - 9001 페이스북 계정 로그인 - 9002'
string
'유저의 이메일'
password
string
'패스워드'
{
"refresh": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1aCIsImV4cCI6",
"access": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzIzNmMjE3NWVmNWY"
}{
"user_uid": [
"This field is required."
],
"password": [
"This field is required."
]
}{
"detail": "No active account found with the given credentials"
}Last updated
Was this helpful?