http://172.30.1.212:8002
βπΏ μ λ ₯:
{ "username": "testuser", "password": "test1234", "email": "example@mail.com" }
π€ μΆλ ₯:
{ "token": "750787eae153..." // <JWT ν ν°> }
βπΏ μ λ ₯:
{ "email": "example@mail.com", }
π€ μΆλ ₯:
{ "message": "μΈμ¦ μ½λκ° μ μ‘λμμ΅λλ€." }
βπΏ μ λ ₯:
{ "email": "example@mail.com", "code": "272822", // <λ©μΌλ‘ μ λ¬λ°μ μ½λ> }
π€ μΆλ ₯:
{ "message": "μ΄λ©μΌ μΈμ¦ μ±κ³΅!" }
βπΏ μ λ ₯:
{ "username": "testuser", "password": "test1234" }
π€ μΆλ ₯:
{ "token": "750787eae153..." // <JWT ν ν°> }
π ν€λ:
ν€λ:
Authorization: Token <JWT ν ν°>
Content-Type: application/json
π€ μΆλ ₯:
{ "id": "1", "username": "testuser", "email": "example@mail.com", "phone_number": "010-1234-5678" }
βπΏ μ λ ₯:
{ "email": "example@mail.com", }
π€ μΆλ ₯:
{ "usernames": [ "tjyb", "tjyb2", "tjytw" ] }
βπΏ μ λ ₯:
{ "username": "testuser", "email": "example@mail.com", }
π€ μΆλ ₯:
{ "message": "μ¬μ€μ μ½λκ° μ΄λ©μΌλ‘ μ μ‘λμμ΅λλ€." }
βπΏ μ λ ₯:
{ "username": "testuser", "email": "example@mail.com", "code": "328457", // <λ©μΌλ‘ μ λ¬λ°μ μ½λ> }
π€ μΆλ ₯:
{ "message": "μμ λΉλ°λ²νΈλ₯Ό μ΄λ©μΌλ‘ 보λμ΅λλ€." }
π ν€λ:
Authorization: Token <JWT ν ν°>
Content-Type: application/json
βπΏ μ λ ₯:
{ "old_password": "νμ¬λΉλ°λ²νΈ", "new_password": "μλ‘μ΄λΉλ°λ²νΈ" }
π€ μΆλ ₯:
{ "message": "λΉλ°λ²νΈκ° μ±κ³΅μ μΌλ‘ λ³κ²½λμμ΅λλ€." }
π ν€λ:
ν€λ:
Authorization: Token <JWT ν ν°>
Content-Type: application/json
π€ μΆλ ₯:
{ "detail": "User deleted successfully", }