Re:Best practices for REST API design (2020)
by pionar on Monday February 22, 2021 @01:04PM
(#26227870)
If you don't care about others using your API, then don't do it. If you do, follow the standard which says you SHOULD have a Content-Type if there is a body to your response.
[ Parent
| on HN ]
Re:Best practices for REST API design (2020)
by Longwelwind on Tuesday February 23, 2021 @03:12AM
(#26234928)
My comment was about whether it's worth supporting multiple values for the "Accept" header, not the "Content-Type" header.