As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
Method PUT is not allowed by Access-Control-Allow-Methods.
D
Damien jack
started a topic
over 9 years ago
Hi,
I'm using Kinvey on angular JS, i try to save a new entity, i am loged, and i get this error : Method PUT is not allowed by Access-Control-Allow-Methods.
Remove the second line in your code sample (the _id) and it should work. When you are creating new records, either do not include _id or set it to null. The code you have right now is actually attempting to update an existing record that doesn't exist, which is why you receive an error.
Damien jack
I'm using Kinvey on angular JS, i try to save a new entity, i am loged, and i get this error : Method PUT is not allowed by Access-Control-Allow-Methods.
var promise = $kinvey.DataStore.save('events', {
_id: '',
name: "hello,
date: "datedate",
info: "wwww",
time: "qqqq"
}, {
success: function(response) {
console.log(response);
},
error: function(error) {
console.log(error);
}
});
what does it means ?