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