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 signup json error #87

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

POST signup json error #87

sidthekidder opened this issue Aug 20, 2014 · 0 comments

Comments

@sidthekidder
Copy link

While making a POST request to create a new user in the /tcos/:tcoid/signup route, the JSON response returned has keys that are not enclosed by "" , leading to parsing errors

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/signup", method: "POST"})

The corresponding code is at
line 13, https://github.com/cloudspokes/tco-api/blob/master/actions/signup.js
line 24, https://github.com/cloudspokes/tco-api/blob/master/initializers/signup.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