Skip to content

Instantly share code, notes, and snippets.

@ahmetozlu
Created June 6, 2021 12:13
Show Gist options
  • Save ahmetozlu/013b36c1ed088d6564755d064fdcbe2a to your computer and use it in GitHub Desktop.
Save ahmetozlu/013b36c1ed088d6564755d064fdcbe2a to your computer and use it in GitHub Desktop.
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