Failed to execute fetch on Window Request with GET or HEAD method cannot have body

GET 형식
@BusinessLog(action = "detail", actionDetail = "    ", actionMessageId = "detail")
@ApiOperation(value = "    ", notes = "    ", httpMethod = "GET")
@GetMapping(path = "/detail")
public ApiResponse detail(String eventId) {
     
	return testService.detail(eventId);
}

POST 형식
@BusinessLog(action = "detail", actionDetail = "    ", actionMessageId = "detail")
@ApiOperation(value = "    ", notes = "    ", httpMethod = "POST")
@PostMapping("/detail")
public ApiResponse detail(@ApiParam(value = "        ") @RequestBody DetailReq detailReq) {
     
	return testService.detail(detailReq);
}

좋은 웹페이지 즐겨찾기