@RequestMapping(value = "/getFormPreviewData/{app_name}/{formName}") public Map<String, Object> getFormPreviewData( @PathVariable("app_name") String appName, @PathVariable("formName") String formName) throws JsonParseException, JsonMappingException, IOException { return formTemplatesService.getFormPreviewData(appName, formName); }