In the POST call to /tcos/:tcoid/messages to create a new message, the JSON returned is missing a comma after the parameter 'status'.
Paste the following code into a browser console and see the Response of the POST request in the Network tab -
$.ajax({url:"http://tcoapi.apiary-mock.com/tcos/tco14/messages", method: "POST"})
The corresponding code is at
line 69, https://github.com/cloudspokes/tco-api/blob/master/actions/messages.js
line 100, https://github.com/cloudspokes/tco-api/blob/master/initializers/messages.js
In the POST call to /tcos/:tcoid/messages to create a new message, the JSON returned is missing a comma after the parameter 'status'.
Paste the following code into a browser console and see the Response of the POST request in the Network tab -
$.ajax({url:"http://tcoapi.apiary-mock.com/tcos/tco14/messages", method: "POST"})
The corresponding code is at
line 69, https://github.com/cloudspokes/tco-api/blob/master/actions/messages.js
line 100, https://github.com/cloudspokes/tco-api/blob/master/initializers/messages.js