diff --git a/src/main/java/com/dnd/dndtravel/map/controller/MapController.java b/src/main/java/com/dnd/dndtravel/map/controller/MapController.java index aa3c937..93aae10 100644 --- a/src/main/java/com/dnd/dndtravel/map/controller/MapController.java +++ b/src/main/java/com/dnd/dndtravel/map/controller/MapController.java @@ -68,7 +68,11 @@ public void updateRecord( } // 기록 삭제 - @DeleteMapping("/maps/history/{recordId}") + + /** + * org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'DELETE' is not supported 예외로 인해 PostMapping으로 변경 + */ + @PostMapping("/maps/history/{recordId}") public void deleteRecord( AuthenticationMember authenticationMember, @PathVariable long recordId