same problem for me, i am trying to send request in advanced rest client,
url: https://push.ionic.io/api/v1/push
method: post
header:
Content-Type: application/json
X-Ionic-Application-Id: "xxxxxxx"
json:
{
"tokens":[
"**********************************************"
],
"notification":{
"alert":"Hello World!",
"ios":{
"badge":1,
"sound":"ping.aiff",
"expiry": 1423238641,
"priority": 10,
"contentAvailable": 1,
"payload":{
"key1":"value",
"key2":"value"
}
},
"android":{
"collapseKey":"foo",
"delayWhileIdle":true,
"timeToLive":300,
"payload":{
"key1":"value",
"key2":"value"
}
}
}
}
Response: {result: "error"message: "You must provide a valid API key"}
Dont know where to put API key, and in which format, please help