📄
lee
  • Initial page
  • API
  • 이메일 인증
    • 이메일 인증
    • 패스워드 찾기 이메일 인증
  • 회원가입 및 신규 패스워드
    • 소셜 계정
    • 회원가입
    • 신규 패스워드
  • 로그인
    • 토큰 발급(로그인)
    • 토큰 인증(자동 로그인)
  • 마이페이지
    • 유저 마이페이지
    • 마이페이지
  • 댓글
    • 댓글
  • 알림
  • 좋아요
  • 게시글(사진)
  • 패스워드
  • 신고
  • 스크랩
    • 스크랩 페이지
    • 스크랩
  • 태그
  • 검색
  • 최근검색어
  • 유저
  • 규칙
Powered by GitBook
On this page

Was this helpful?

  1. 로그인

토큰 발급(로그인)

create token

POST http://api.phopo.best/api/token

'sending으로 바인딩 할 필요없음'

Request Body

Name
Type
Description

user_type

integer

'일반 계정 로그인 - 9000 구글 계정 로그인 - 9001 페이스북 계정 로그인 - 9002'

email

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"
}

Previous로그인Next토큰 인증(자동 로그인)

Last updated 5 years ago

Was this helpful?