When you post JSON (or XML), rails will handle all of the parsing for you, but you need to include the correct headers.
Have your app include:
Content-type: application/json
And all will be cool.
When you post JSON (or XML), rails will handle all of the parsing for you, but you need to include the correct headers.
Have your app include:
Content-type: application/json
And all will be cool.