KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Our team is developing RESTFul applications...we are debating the "BEST PRACTICE" approach. Should 404 status code response be returned for a filter-like query? Say my GET URL is .../1/service/startsWith/a.json and it returns all values that start with A in my database...but if no "a" values are found should i just return status code 200 with an empty json string? or status code 404. Thanks!
Tags (comma-separated)
Save Edits
Cancel