@PutMapping("/item/categoryId/{srsCustomerId}")
public ResponseEntity saveOmsFiltersWithCategoryIds(@PathVariable("srsCustomerId") Long srsCustomerId, @RequestBody (required=false) List
log.error("Exception trying to save SrsCustomer and SrsOmsFilterId", e);
e.printStackTrace();
return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR).build();
}
}
I have tried above code and it is giving me 500 bad request
Comment From: poutsma
If you'd like us to spend some time investigating, please take the time to provide a complete minimal sample (something that we can unzip or git clone, build, and deploy) that reproduces the problem.
Comment From: spring-projects-issues
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Comment From: spring-projects-issues
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.