Ankur Wadhawan
Posts: 0
Joined: Thu Jan 30, 2014 11:54 pm

updating device table for push notification

I have gone through the examples..and after creating REST service in my application for updating device table in the database I am trying to do an ajax call with jquery to update the table.. wondering if this would work.. however it isnt.

can you let know why?

code
$.ajax({
type: "PUT",
crossDomain: true,
url: 'https://api.appery.io/rest/push/reg/'+device.uuid,
data: {'X-Appery-App-Id':'73*-46-47e9-b62a-34*******989',
'userName':username,
'userType':usertype
},
});

/code

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

updating device table for push notification

Hello! Mark X-Appery-App-Id as header.

Return to “Issues”