I have a java backed web service that i want to test out with ActiveResource.
What are the base assumed url endpoints, say I have a resource for Users.
Currently my url is:
localhost:8080/api/users
I created a test class, and it fails because it assumes I have this url:
localhost:8080/api/users.json
I was planning on doing this:
localhost:8080/api/users/ (GET - lists users)
localhost:8080/api/users/create (POST - create a user)
localhost:8080/api/users/10 (GET user with id 10)
localhost:8080/api/users/10/update (POST - update user with id 10)
What is the Rails standard? Is this standard the 'standard' across other frameworks?