I'm creating and api. I create a scaffold
script/generate scaffold user
I have users controller, but how do I call the create method via a URL
ie...localhost:3000/users/create.xml?params
new doesn't work as it returns the empty user object in XML as it should, but when I call create localhost:3000/users/create.xml?params I get the below error
"Couldn't find User with ID=create"
I get that is has to do with the routing, but I don't want to call create with and ID as I don't know what it is going to be.
Any help is apperciated.
Cheers, SG