3 ms·
If you write an API designed to return a single entity matching the path provided, it's absolutely an error if it doesn't exist. If your API returns the simpl
by wizofaus 4y ago
If you write an API designed to return a single entity matching the path provided, it's absolutely an error if it doesn't exist. If your API returns the simplest possible JSON representation in a success case, what JSON should it return if it doesn't exist?