Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.restfull.core.controllers;
- import org.springframework.web.bind.annotation.GetMapping;
- import org.springframework.web.bind.annotation.RestController;
- @RestController
- public class IndexController {
- @GetMapping("/")
- public String helloWorld() {
- return "Hello World!";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement