Posts by Bruno Amaral • 9 points
1 post
-
-1
votes1
answer322
viewsQ: What should I return in a REST API when the results are either true or false?
When I search for information in the database and this information is not returned (because it does not exist), what should I do? Fill a JSON object for GET return? And if it returns false? Can…