내용 | Method | api | request | response |
메모 작성 | POST | /api/memos | username,contents,title(JSON) header:token | STRING 작업결과메세지 |
메모 조회 | GET | /api/memos | {id,title,username,contents,작성시간}LIST | |
메모 수정 | PUT | /api/memos/{id} | username,contents(JSON) header:token |
STRING 작업결과메세지 |
메모 삭제 | DELETE | /api/memos/{id} | header:token username,contents(JSON) |
STRING 작업결과메세지 |
댓글 작성 | POST | /memo/comments/{id} | username,contents,title,해당게시물의 num(JSON) header:token | STRING 작업결과메세지 |
댓글 조회 | GET | /memo/comments | {id,title,username,contents,작성시간,해당게시물의 num}LIST | |
댓글 수정 | PUT | /memo/comments/{id} | username,contents(JSON) header:token |
STRING 작업결과메세지 |
댓글삭제 | DELETE | /memo/comments/{id} | header:token username,contents(JSON) |
STRING 작업결과메세지 |
회원가입요청 | POST | /user/signup | username, pw,pwcheck(JSON) | STRING 작업결과메세지 |
홈화면 진입 | GET | "/" | @스프링 시큐리티 인가정보 | index.html / 토큰생성 |
게시글댓글화면 진입 | GET | /memo/comments/{id} | {id},@스프링 시큐리티 인가정보 | comment.html / 토큰생성 |
'개발이야기 > 항해일지' 카테고리의 다른 글
항해 주특기 미니프로젝트 회고록 (0) | 2022.06.19 |
---|---|
항해2일차 (0) | 2022.05.10 |
항해 1일차 (0) | 2022.05.09 |
항해99 7기 d반 7조 미니프로젝트 S.A (0) | 2022.05.09 |
종합반 2주차 복습 (0) | 2022.04.29 |