我正在尝试使用 OAuth 凭据登录,这涉及向 Auth verifyAssertion 端点发出 HTTP POST 请求。我将如何在语法上执行此操作?我正在尝试遵循这个 firebase 文档,但他们使用 curls 作为示例。
https://firebase.google.com/docs/reference/rest/auth/#section-sign-in-with-oauth-credential
端点是https://identitytoolkit.googleapis.com/v1/accounts:signInWithIdp?key=[API_KEY]