HealthCheck 메서드
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
예약 서버 상태를 반환하는 메서드입니다. 이를 통해 Google에서 예약 서버의 서비스 제공 상태를 지속적으로 모니터링할 수 있습니다.
요청
없음
반환 값
없음
서버의 서비스 제공 상태를 나타내려면 HTTP 상태 코드를 사용하세요. 서버가 실행되고 있는 경우 HTTP 상태 코드 200 (OK)을 반환하고, 오류를 나타내려면 HTTP 상태 코드 중 하나를 반환하세요.
200이 아닌 상태 코드를 반환하면 통합 상태에 영향을 줄 수 있습니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eThis method allows Google to monitor the health of your Booking Server.\u003c/p\u003e\n"],["\u003cp\u003eYou need to use HTTP status codes to indicate the server's health (200 for OK, other codes for errors).\u003c/p\u003e\n"],["\u003cp\u003eReturning a non-200 status code might impact your integration with Google.\u003c/p\u003e\n"]]],["The Booking Server health status is checked via an HTTP request with no request body or return value. A successful server is indicated by an HTTP status code of 200 (OK). Any other HTTP status code, as defined in the provided status code documentation, signals an error. Returning a non-200 status code may negatively impact integration. Google uses this method to monitor the operational status of the server.\n"],null,["# HealthCheck method\n\nThis method returns your Booking Server health status. It enables Google to\ncontinuously monitor the serving state of your Booking server.\n\n**Request**\n\nNone\n\n**Return value**\n\nNone.\n\nUse HTTP status code to indicate the serving status of your server. Return\nan HTTP status code 200 (OK) if the server is up and running successfully,\nor to indicate an error please return one of\n[HTTP status code](/actions-center/verticals/local-services/e2e/reference/booking-server-api-rest/e2e-methods/status-codes).\n\n\nPlease note that returning a non-200 status code may affect your integration status."]]