我试图在 post man 中运行 xtify simple push api,但它显示错误。我在原始正文中使用了以下 json 代码:
{
"apiKey":"12345678-7d94-415a-9eed-00987654321",
"appKey":"12345678-4ab7-4633-8a7c-00987654321",
"sendAll": true,
"content": {
"message": "Arma virumque cano, troiaeque primus ab oris",
"sound": "default.caf",
"badge": "+1",
"action": {
"type": "CUSTOM",
"label":"Open",
"data": "{'action_id': 'ABC', inum: '123456'}"
}
}
}
我有有效的 api 密钥和应用程序密钥。出于安全原因,我在这里更改了 api 密钥和应用程序密钥。使用标头 Content-Type=application/json 但它显示错误消息:
无效的应用程序密钥