Authorization

Forms Authentication demonstrates calling a service method that requires authentication using Forms Authentication. To require authentication for the Web API uncomment the [Authorize] attribute on the CommentsController.