You could write a custom [Authorize] attribute which would return JSON instead of throwing a 401 exception in case of unauthorized access ...
確定! 回上一頁