Web-service using spring in which I have to get the params from the body of my post request? The content of the body is like:-
source=”mysource” &json=
You can get param from request.
@ResponseBody public ResponseEntity saveData(HttpServletRequest request, HttpServletResponse response, Model model){ String jsonString = request.getParameter("json"); }