$.ajax({
type: 'POST',
headers: {
"Authorization:":"key=AIzaSyA5lt6V7fkbX0uNdj3b6mM4PFfZ7LDEFq8",
},
contentType: "application/json",
url: 'https://android.googleapis.com/gcm/send',
data: {'registration_ids':['erYZE8eChno:APA91bGyiTZrUwZx5mTYPmLBVorePCeeib382-RVcqAJ7nmf6gppc57v3YgqEE-ncrO6nhjorXjlolVkkwmflgkKL3DK5N4n8T59J7bMgwdE6lJOhr5NSMbEtNOTj5Ntc4P9La0fBG3o']
},
}).done(function(data) {
alert(data);
});
$.ajax({
type: 'POST',
headers: {
"Authorization:":"key=AIzaSyA5lt6V7fkbX0uNdj3b6mM4PFfZ7LDEFq8",
},
contentType: "application/json",
url: 'https://android.googleapis.com/gcm/send',
}).done(function(data) {
alert(data);
});