Last active
June 17, 2019 18:52
-
-
Save devindianushika/3e85ab48dc5790c5c479d9dd130ddc83 to your computer and use it in GitHub Desktop.
SpringbootFirst
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.audelia.springdemo.Controller; | |
import org.springframework.web.bind.annotation.GetMapping; | |
import org.springframework.web.bind.annotation.RequestMapping; | |
import org.springframework.web.bind.annotation.RestController; | |
@RestController | |
@RequestMapping("/end") | |
public class First { | |
@GetMapping("/hello") | |
public String hello(){ | |
return "hello world"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment