https://www.figma.com/embed?embed_host=notion&url=https%3A%2F%2Fwww.figma.com%2Ffile%2FMCwPSdYRymknvVylff21j1%2FUntitled%3Fnode-id%3D0%253A1
검색어 크롤링 API
기능 | method | url | request | response |
---|---|---|---|---|
검색어 크롤링 | GET | api/search | 검색어에 해당하는 크롤링 데이터를 보여준다. |
사진API
기능 | method | url | request | response |
---|---|---|---|---|
사진촬영 | POST | api/photo | {photo_give : photo} | 사진이 분류된 해당 카테고리의 결과와 분리수거 방법을 가져와서 보여준다. |
댓글 API
기능 | method | url | request | response |
---|---|---|---|---|
댓글등록 | POST | api/review | {nickname_give: nickname, title_give: title, comment_give: comment, password_give: password}, | |
고유의 '_id' 생성됨 | ||||
댓글보여주기 | GET | api/review | all_reviews | |
댓글수정 | POST | api/update | id_give: id(_id), confirmPassword_give: confirmPassword, updateContent_give: updateContent | |
댓글삭제 | POST | api/delete | id_give: id(_id), confirmPassword_give: confirmPassword |
기능 | method | url | request | response |
---|---|---|---|---|
댓글등록 | POST | api/review | {nickname_give: nickname, title_give: title, comment_give: comment, password_give: password}, | |
고유의 '_id' 생성됨 | ||||
댓글보여주기 | GET | api/review | all_reviews | |
댓글수정 | POST | api/update | id_give: id(_id), confirmPassword_give: confirmPassword, updateContent_give: updateContent | |
댓글삭제 | POST | api/delete | id_give: id(_id), confirmPassword_give: confirmPassword |