I follow the tutorial to push notification, sometimes when I execute the follow command in terminal
curl -u xxxxxxxx: -H "Content-Type: application/json" -H "X-Ionic-Application-Id: xxxxxxx" https://push.ionic.io/api/v1/push -d '{"tokens":["xxxxxxxx"],"notification":{"alert":"I come from planet Ion."}}'
I got this error message:
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
html, body, iframe { margin: 0; padding: 0; height: 100%; }
iframe { display: block; width: 100%; border: none; }
</style>
<title>Application Error</title>
</head>
<body>
<iframe src="//s3.amazonaws.com/heroku_pages/error.html">
<p>Application Error</p>
</iframe>
</body>
</html>%
maybe something wrong in the api `https://push.ionic.io/api/v1/push
someone can give me a help? thanks.