POST

/api/auth/google/callback

Google OAuth callback

Exchanges a Google OAuth authorization code for a session token.

curl -s -X POST "$BASE/api/auth/google/callback" \
  -H "Content-Type: application/json" \
  -d '{"code": "google_auth_code_here"}'

请求体

FieldTypeReqDefaultDescription
codestringYGoogle OAuth authorization code

Try it out

Sign in to use your API key
Request Body
Response
Click Execute to test