로딩
요청 처리 중입니다...

검색 기록 API 개발

 검색 기록 API 개발

사용자 검색 기록 입력 API Method: POST URL: /search Request @RequestBody private String memberId; private String searchHistory; Response private String searchHistoryId; Exception 404 UserNotFoundException: memberId Not Found 401: Unauthorized (추후에 추가할 예정) 500: Server SearchHistoryController Controller에서 memberId, searchHistory를 받아 Service 단으로 넘긴다. ..코드 생략 /** * 사용자 검색 기록 입력 * * @param requestSearchHistory the request search history * @return the response entity */ @PostMapping() public ResponseEntity