SyntaxFix
Write A Post
Hire A Developer
Questions
@RequestMapping("/api/status") public Map doSomething() { return Collections.singletonMap("status", myService.doSomething()); }
PS. Works only for 1 value