My take on on HTTP methods and resources:
- RE: resource exists
- RNE: resource not exists
- For batch request, whether resource/entity exists or not, the resulting HTTP
status code is always
200, because the code is used to indicate the status
of the operation. The actual status code of each entity is enclosed in the
response array. When there are no matching entities, the response is an empty
array, therefore, status code
204is not used.
- There are two situation, a new resource is being created, then the
header must indicate the fully qualified resource URI.