
@DeleteMapping("/api/resumes/{id}") public ResponseEntity<?> delete(@PathVariable Integer id) { // User sessionUser = (User) session.getAttribute("sessionUser"); resumeService.delete(id); return ResponseEntity.ok(new ApiUtil<>(null)); }
[ DELETE - http://localhost:8080/api/resumes/1 ]
{ "status": 200, "msg": "성공", "body": null }

[ DB - 이력서 1번 삭제 ]

Share article