Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package net.lipecki.demo;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.bind.annotation.RestController;
- @RestController
- public class GreetingRestController {
- @RequestMapping("/greeting")
- public String greeting() {
- return "Welcome!";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement