Hi.. I'm just getting started with Ruby and am creating an API that
will receive POST requests from its users.
I've got a "fake" user sending POST requests to the right controller in
my application, but I can't seem to access the data being posted. (the
create method in my controller is being invoked...so I know I'm
addressing the POST call correctly)
The data being posted is:
How do I capture this in the controller, create a new record and
populate the name and amount fields in my database?
I don't want to use XML...my data must be in the above format.