在创建Web服务(RESTful)时,当会话令牌无效时,我应该使用什么状态代码?目前我公司的那个发给我一个404,没有找到,但我认为这是不正确的,因为资源存在.也许我应该使用401 Unauthorized.你怎么看?您建议我在此方案中使用什么状态代码?谢谢.
rest web-services restful-authentication http
http ×1
rest ×1
restful-authentication ×1
web-services ×1