Created
June 6, 2021 12:13
-
-
Save ahmetozlu/013b36c1ed088d6564755d064fdcbe2a to your computer and use it in GitHub Desktop.
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.ahmet.springboot.helloworld.controller; | |
import org.springframework.web.bind.annotation.RequestMapping; | |
import org.springframework.web.bind.annotation.RestController; | |
@RestController | |
public class HelloWorldController { | |
@RequestMapping("/") | |
public String printHelloWorld() { | |
return "I just want to say hello -- Spring Boot!"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment