소셜 계정

Social(sign-up)

POST http://api.phopo.best/api/social-account

'소셜 계정 회원가입'

Request Body

Name
Type
Description

email

string

'구글 계정의 이메일 or 페이스북 계정 이메'

nickname

string

'유저의 닉네임(중복 X)

user_type

integer

' 구글 계정으로 회원가입 - 9001 페이스북 계정으로 회원가입 -9002'

{
    "payload": {
        "sign_up": false
    },
    "message": "Create fail"
}

social-user check

GET http://api.phopo.best/api/social-account

Query Parameters

Name
Type
Description

email

string

'소셜 유저 이메일'

user_type

integer

'구글 계정 - 9001 페이스북 계정 - 9002'

{
    "payload": {
        "sign_up": false
    },
    "message": "Go to create token"
}

Last updated

Was this helpful?