We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e088a3 commit a7bd69cCopy full SHA for a7bd69c
1 file changed
src/main/java/net/developerden/backend/controller/InfoController.java
@@ -0,0 +1,14 @@
1
+package net.developerden.backend.controller;
2
+
3
+import org.springframework.security.core.annotation.AuthenticationPrincipal;
4
+import org.springframework.web.bind.annotation.GetMapping;
5
+import org.springframework.web.bind.annotation.RestController;
6
7
+@RestController
8
+public class InfoController {
9
10
+ @GetMapping("/ping")
11
+ public String ping() {
12
+ return "pong";
13
+ }
14
+}
0 commit comments