與 Google 交換金鑰並取得供應商 ID (PIAID) 之後,您就能與 Client Side Push Provisioning API 建立連線,並順利完成 echo 測試。我們提供程式碼範例,協助您使用我們交換的加密金鑰來執行這些測試,確保相關設定正確無誤,且基礎架構能將我們的要求正確轉送至主機。使用程式碼範例順利完成 echo 測試之後,您就能更新實作項目,與 API 相互通訊。
由合作夥伴傳送 echo 給 Google
Google 負責代管 echo 端點。您可以呼叫這個端點,測試是否能與我們的伺服器相互通訊。您須使用與 Google 交換的加密金鑰來產生 echo 要求並剖析回應。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2024-10-16 (世界標準時間)。"],[],["After exchanging keys with Google and obtaining a vendor ID, establish connectivity with the Client Side Push Provisioning API by completing an echo test. Use the exchanged encryption keys to format the echo request and parse the response. Utilize provided Java or Node.js code samples to send a test `echo` request via `curl` to Google's endpoint. Ensure proper key setup to receive a successful echo response, and use codelabs for a guided walkthrough of the sample implementations.\n"]]