Answer
Content negotiation selects the response format based on:
- Client's Accept header
- Configured formatters (JSON, XML)
ASP.NET Core defaults to JSON.
Content negotiation selects the response format based on:
ASP.NET Core defaults to JSON.
This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.
Sign in to access all features and personalize your learning experience.
Source: SugharaIQ