0

我试图在 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 但它显示错误消息:

无效的应用程序密钥

4

1 回答 1

1

实际上我已经使用这个 url https://api.xtify.com/2.0/push来发送推送。但应该是这样的https://euapi.xtify.com/2.0/push。现在可以使用

于 2015-11-05T13:55:10.380 回答