본문 바로가기
코리아 IT아카데미/android

17일차 | 스프링부트 JWT 블로그 가상 서버 셋팅하기1

by Sharon kim 2022. 3. 9.


init / User

GET : 

http://lalacoding.site/init/user


init / post

POST:

http://lalacoding.site/init/user


로그인 처리

POST:

http://lalacoding.site/login

{
    "username":"user0002",
    "password":"1234"
}

회원가입 처리

POST:

http://lalacoding.site/join

{
    "username":"user0002",
    "password":"1234",
    "email":"user0002@gmail.com"
}

회원정보 수정

PUT:

http://lalacoding.site/user/45

 

Authorization :

Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJjb3PthqDtgbAiLCJpZCI6NDUsImV4cCI6MTY0NjgyMTY4NX0.yUbcC7LtZNlfzlXE-4_MpTn8a36E9Uxz2PZ2JHqAM1T1TWhMVyNZKt05grULxC0Q6tIW0EeVLFBtsflYyyR1VQ

{
    "username":"user0002",
    "password":"1234"
}