Created
September 17, 2018 15:33
-
-
Save anhtv08/b97ed98ab7e2551ca5e1617766f91972 to your computer and use it in GitHub Desktop.
Rest Controller
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.anhtv08.springbootdemo.controller; | |
import org.springframework.web.bind.annotation.RequestMapping; | |
import org.springframework.web.bind.annotation.RestController; | |
@RestController | |
public class HelloController { | |
@RequestMapping("/hello") | |
public String hello(){ | |
return "Hello world spring boot !"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment