How do I write the method for user authentication in REST web service? I am beginner with web services.

Edit
Report