I'm developing a WCF RESTful web service with C#, .NET Framework 4.0 and Entity Framework 4.4.0.0.
On a SQL Server database I have a table with users and I want to check if an user exists on that table sending login and password.
I have this URI: /users/{user_id} to GET an user using its UserId.
I think, I can do this: /users/login/{login}/password/{password} but I don't know if this is the right way to do it because login and password are public.
How can I check if exist an user with the same login and password without showing them on the URI? (Maybe, /users/login/{login}/password/{password}, this is the right way).
NOTE: the password is encrypted.