如何在 chrome 邮递员应用程序中工作 xtify 简单推送 api
How to work xtify simple push api in chrome postman application
我尝试在 post man 中运行 xtify 简单推送 api 但它显示错误。我在原始 body:
中使用了以下 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 密钥和应用程序密钥。使用 header Content-Type=application/json 但它显示错误消息:
Invalid Application Key
其实我用过这个urlhttps://api.xtify.com/2.0/push for sending push. But it should be like this https://euapi.xtify.com/2.0/push。现在可以使用
我尝试在 post man 中运行 xtify 简单推送 api 但它显示错误。我在原始 body:
中使用了以下 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 密钥和应用程序密钥。使用 header Content-Type=application/json 但它显示错误消息:
Invalid Application Key
其实我用过这个urlhttps://api.xtify.com/2.0/push for sending push. But it should be like this https://euapi.xtify.com/2.0/push。现在可以使用