@RequestMapping( value = "/source", method = {RequestMethod.PUT}) @ResponseBody public void updateSourceCode( @RequestParam("relativePath") String relativePath, @RequestBody String newSourceCode) { testCaseService.updateSourceCode( projectService.getActiveProject(), relativePath, newSourceCode); }