Metode HealthCheck
Metode ini menampilkan status kondisi Server Pemesanan Anda. Hal ini memungkinkan Google terus memantau status penayangan server Pemesanan Anda.
Permintaan
Tidak ada
Nilai yang ditampilkan
Tidak ada.
Gunakan kode status HTTP untuk menunjukkan status penayangan server Anda. Tampilkan kode status HTTP 200 (OK) jika server aktif dan berjalan dengan baik, atau untuk menunjukkan error, tampilkan salah satu kode status HTTP.
Perlu diketahui bahwa menampilkan kode status selain 200 dapat memengaruhi status integrasi Anda.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-11-26 UTC.
[null,null,["Terakhir diperbarui pada 2024-11-26 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"]]