@RequestMapping("poster/add")
@ResponseBody
public ResultVo addPoster(Long categoryKey, Long typeId, String typeValue, @RequestBody List<ActivityPosterImageVo> imgList, HttpServletRequest request,
HttpServletResponse response){
dosomething()
}
data transfer at the foreground
{categoryKey: 1, typeId: "1", typeValue: "", imgList: [{imgId: "87",}]}
Why 400 (Bad Request) is displayed