我们正在实现基于 REST 的 Web 服务,并且对某些用例有一些疑问。
考虑有一个唯一的帐户,其中包含一些信息(例如添加到购物车信息)
应使用什么 HTTP 状态代码?
api rest web-services httpresponse http-status-code-301
api ×1
http-status-code-301 ×1
httpresponse ×1
rest ×1
web-services ×1