rest - In a RESTful HTTP request for search results, if there are no results, should I return an empty array or a 404 error code? -


In a lush HTTP request for search results, if there are no results, then I should return an empty table or error code ?

You should return an empty array, because the resource (result store) is present, but it is empty .


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

java - Messages from .properties file do not display UTF-8 characters -

javascript - amcharts makechart not working -