Skip to content

POST message json error #86

Description

@sidthekidder

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions