@FlorianKrippner wrote:
Hej guys, i have the following problem. i am doing this:
saveData() { const myStore = this.get('store'); let post = myStore.createRecord('instantiatedwidget', { userID: 1995, name: 'test', instanceID: 404 }); post.save(); }
my backend get the post request and the data. after that i return in java this
return Response.status(200).entity("hello world").build();
(jersey framework for rest api)
now my ember application throws that error:
error SyntaxError: Unexpected token P in JSON at position 0
someone know the issue ?
Posts: 2
Participants: 2