Commit ad1165ef authored by Administrator's avatar Administrator

Update Hello.java

parent 59042fc7
...@@ -11,9 +11,9 @@ import org.springframework.web.bind.annotation.RestController; ...@@ -11,9 +11,9 @@ import org.springframework.web.bind.annotation.RestController;
@RequestMapping(value = "/hello") @RequestMapping(value = "/hello")
public class Hello { public class Hello {
@GetMapping(value = "/", produces = MediaType.APPLICATION_JSON_VALUE, consumes = MediaType.ALL_VALUE) @GetMapping(value = "/", produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity<String> getUserDetailByGitlabEmailId() { public ResponseEntity<String> getMessage() {
System.out.println("Inside first API");
return new ResponseEntity<>("Wecome to Playground...", HttpStatus.OK); return new ResponseEntity<>("Wecome to Playground...", HttpStatus.OK);
} }
......
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