I\'ve got an iPhone app requesting an API, and it uses a nested param structure to pass in a username and password to login.
In my Rails controller, I\'m successfull
I found this to work. Given a JSON blob like
{ "opts": { "finder": { "cname":"superlatives" } } } curl -H "Content-Type: application/json" \ -X POST \ --data-binary '{"opts":{"finder":{"cname":"superlatives"}}}' \ http://YOURSERVER.com/api/grams/one