ASP.NET Core & Web API (50 Qs)•Part 2: Entity Framework Core, Security & High-Performance Data (11 - 24)
How does Content Negotiation work in Web APIs?
junior LevelFormsPerformanceSecurity & Auth
In Simple Words:
The server inspects the client's HTTP Accept header (e.g., application/json, application/xml) and uses registered OutputFormatters to serialize the response into the requested format.