Skip to content
Snippets Groups Projects
Commit fca02dc6 authored by Karsch Lukas's avatar Karsch Lukas
Browse files

Delete DemoController.java

parent d770756a
No related branches found
No related tags found
2 merge requests!11update branch,!7update branch to get access to user auth
package hdm.mi.growbros.controllers;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/api/v1/demo-controller")
public class DemoController {
@GetMapping
public ResponseEntity<String> sayHello() {
return ResponseEntity.ok("Hello from secured endpoint.");
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment