Skip to content

Instantly share code, notes, and snippets.

@slmanju
Created January 2, 2018 07:37
Show Gist options
  • Save slmanju/5d1f3c55e041a5153d303e44cbb82941 to your computer and use it in GitHub Desktop.
Save slmanju/5d1f3c55e041a5153d303e44cbb82941 to your computer and use it in GitHub Desktop.
@RestController
public class HelloController {
@GetMapping(value = { "/" })
public String index() {
return "Hello world";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment