-
Notifications
You must be signed in to change notification settings - Fork 7
API
seongpyohong_ edited this page Dec 12, 2019
·
11 revisions
| 설명 | 메소드 | 경로 | 파라매터 | 바디 | 헤더 |
|---|---|---|---|---|---|
| 밥 | GET | /api/test | :id/:pw | {"id":id;"pw":pw} | {header: header} |
| 설명 | 메소드 | 경로 | 파라매터 | 바디 | 헤더 |
|---|---|---|---|---|---|
| 구매내역 | POST | /api/log/filter | - |
"userid":2,//유저 아이디"dayago":365,//거래한 날짜 기준"isSale":false,//판매내역 여부"isBuy":true,//구매내역 여부"page":1,//페이지"limit":10//페이지당 출력할 내용 |
- |
| 판매내역 | POST | /api/log/filter | - |
"userid":2,//유저 아이디"dayago":365,//거래한 날짜 기준"isSale":true,//판매내역 여부"isBuy":false,//구매내역 여부"page":1,//페이지"limit":10//페이지당 출력할 내용 |
- |
| 설명 | 메소드 | 경로 | 파라매터 | 바디 | 헤더 |
|---|---|---|---|---|---|
| 접속 사용자 조회 | GET | /api/users | - | - |
access-token: "" //유저의 access token,refresh-token: "" // 유저의 refresh token |
| 회원 등록/수정 | POST | /api/users | - |
"uid":1 //유저 아이디. 등록일 경우 제외,"id":"hong"//아이디,"password":"password" //비밀번호,"name":"hong" //이름,"email":"aa@aa.com" //이메일,"signUp":true //등록/수정 구분 |
- |
| 회원 정보 조회 | GET | api/users |
:id // 유저 로그인 아이디 |
- | - |
| 설명 | 메소드 | 경로 | 파라매터 | 바디 | 헤더 |
|---|---|---|---|---|---|
| 로컬 로그인 | POST | /api/sign/login | - |
"username":"ex"//아이디"password":"pwd"//비밀번호 |
- |
부스트캠프 맴버십 - 그룹프로젝트 (서준배, 최성찬, 홍승표, 황선준)