Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POST message json error #86

Open
sidthekidder opened this issue Aug 20, 2014 · 0 comments
Open

POST message json error #86

sidthekidder opened this issue Aug 20, 2014 · 0 comments

Comments

@sidthekidder
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant