What should be the response status code when an element is not present in the REST API?

前端 未结 0 1088
青春惊慌失措
青春惊慌失措 2020-12-31 03:42

I am building a REST API. To retrieve a specific product, there is an API endpoint:

GET /product/{product-id}

This endpoint returns 200 with

相关标签:
回答
  • 消灭零回复
提交回复
热议问题