שיטת HealthCheck
השיטה הזו מחזירה את סטטוס התקינות של שרת ההזמנות. כך Google יכולה לעקוב באופן שוטף אחרי סטטוס ההצגה של שרת ההזמנות.
בקשה
ללא
ערך המוחזר
ללא.
משתמשים בקוד מצב HTTP כדי לציין את סטטוס ההצגה של השרת. אם השרת פועל בצורה תקינה, צריך להחזיר את קוד הסטטוס HTTP 200 (OK). כדי לציין שגיאה, צריך להחזיר אחד מקודי הסטטוס של HTTP.
חשוב לדעת שהחזרת קוד סטטוס שאינו 200 עשויה להשפיע על סטטוס השילוב.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-11-26 (שעון UTC).
[null,null,["עדכון אחרון: 2024-11-26 (שעון UTC)."],[[["This method allows Google to monitor the health and serving status of your Booking Server."],["You need to use HTTP status codes to indicate the status of your server; 200 (OK) for successful operation and other codes for errors as defined in the provided reference."],["Returning a non-200 status code might negatively impact the status of your integration with Google."]]],["The method checks a Booking Server's health status, allowing continuous monitoring. No request or return value is required; the server's status is indicated solely through the HTTP status code. A 200 (OK) code means the server is operational. Any other HTTP status code, as defined in the provided reference, signifies an error and can impact integration status.\n"]]