Client error 404: how to catch and gracefully handle it?

前端 未结 0 393
粉色の甜心
粉色の甜心 2021-02-06 10:21

I am using Symfony 5.2.1 to consume an API.

The API returns HTTP response with 404 status if an object is not found (in my case it is a book). Sample output as below:

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