Created
October 27, 2021 13:07
-
-
Save alexandrebl/1dd70d58eda6462e4e138eefbc3367d7 to your computer and use it in GitHub Desktop.
Java Spring Web Hello Controller
This file contains hidden or 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.test1.apptest1wrk.controller; | |
| import org.springframework.web.bind.annotation.GetMapping; | |
| import org.springframework.web.bind.annotation.RestController; | |
| @RestController | |
| public class HelloController { | |
| @GetMapping("/") | |
| public String index() { | |
| return "ABrandaoL Web API Rest - OK"; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment