Commit 4e759ea5 by Patryk Czarnik

Hello world

parent 26b02698
package com.example.demo;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
@Controller
public class PierwszyKontroler {
@GetMapping("/hello")
@ResponseBody
public String hello() {
return "Hello world";
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment