Skip to content

Commit

Permalink
Merge pull request #19 from woowacourse-teams/feature/be/#18
Browse files Browse the repository at this point in the history
[Feature] - Ping api
  • Loading branch information
eunjungL authored Jul 15, 2024
2 parents d431c31 + 7413cff commit ce7ece5
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 ce7ece5

Please sign in to comment.