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 654dddd commit 3b9d1a9Copy full SHA for 3b9d1a9
src/main/java/com/amigoscode/pingpong/PingPongController.java
@@ -0,0 +1,16 @@
1
+package com.amigoscode.pingpong;
2
+
3
+import org.springframework.web.bind.annotation.GetMapping;
4
+import org.springframework.web.bind.annotation.RequestMapping;
5
+import org.springframework.web.bind.annotation.RestController;
6
7
+@RestController
8
+@RequestMapping("api/v1/ping")
9
+public class PingPongController {
10
11
+ @GetMapping
12
+ public String pingPong() {
13
+ return "pong";
14
+ }
15
16
+}
0 commit comments