I have attached a functioning GET and POST API, but I don't know how to view the json arguments sent to the API.
Example:the 'value': 'something to test' string. How do I get to that value in the API?.
app.api.call('POST', app.api.buildURL('Hello/World/1'), {'value':'something to test'},
{
success: function(data){
if(this.disposed){
return;
}
console.log(data);
self.message = data;
_.extend(self, self.message);
self.render();
},
error: function (e) {
console.log('error');
console.log(e);
}
});