Skip to content

Instantly share code, notes, and snippets.

@devindianushika
Last active June 17, 2019 18:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devindianushika/3e85ab48dc5790c5c479d9dd130ddc83 to your computer and use it in GitHub Desktop.
Save devindianushika/3e85ab48dc5790c5c479d9dd130ddc83 to your computer and use it in GitHub Desktop.
SpringbootFirst
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