OpenapiUnknown
Register a client with legacy C2DM
Exchanges the check-in device ID and security token for a registration token.
Header Parameters
Content-Type*string
User-Agent*string
The pinned receiver sends an empty User-Agent value.
Length
length <= 0Request Body
application/x-www-form-urlencoded
TypeScript Definitions
Use the request body type in TypeScript.
Form fields are URL encoded as UTF-8.
Response Body
text/plain
curl -X POST "https://example.com/c2dm/register3" \ -H "Content-Type: application/x-www-form-urlencoded" \ -H "Authorization: string" \ -H "User-Agent: " \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'app=org.chromium.linux&X-subtype=1%3A876313859327%3Aandroid%3Ae10ec6ddb3c81f39&device=123456789&sender=BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4'"token=synthetic-registration-token"