Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.jdriven.ng2boot;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.bind.annotation.RestController;
- @RestController
- public class HelloController {
- @RequestMapping(value ="/test")
- public String helloWorld() {
- return "Hello World!";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement