HealthCheck method
This method returns your Booking Server health status. It enables Google to
continuously monitor the serving state of your Booking server.
Request
None
Return value
None.
Use HTTP status code to indicate the serving status of your server. Return
an HTTP status code 200 (OK) if the server is up and running successfully,
or to indicate an error please return one of
HTTP status code.
Please note that returning a non-200 status code may affect your integration status.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["This method allows Google to monitor the health of your Booking Server."],["You need to use HTTP status codes to indicate the server's health (200 for OK, other codes for errors)."],["Returning a non-200 status code might impact your integration with Google."]]],["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"]]