Skip to content

Commit

Permalink
feat: Ping api 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
eunjungL committed Jul 15, 2024
1 parent d431c31 commit 7413cff
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions backend/src/main/java/woowacourse/touroot/PingController.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package woowacourse.touroot;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/ping")
public class PingController {

@GetMapping
public String ping() {
return "pong";
}
}

0 comments on commit 7413cff

Please sign in to comment.