The Web API is not returning XML instead just returns JSON
[HttpGet] public IHttpActionResult Get(string Account) { // other code fo connecting to the SQL seerver and calling the stored procedure reader = command.ExecuteReader(); List<QueryResult>qresults = new List<QueryResult>(); while (reader.Read()) { QueryResult qr = new QueryResult(); qr.AccountID = reader["AccountID"].ToString(); qr.CounterSeq = reader["CounterSeq"].ToString(); qresults.Add(qr); } DbConnection.Close(); return Ok(qresults); When I tried to execute the API in the fiddler client

When I click on JSON it shows like [{"AccountID":"Research","CounterSeq":"3"}]
I have two questions
How can I return the response in the file name QueryResult.xml.
How can we automatically return the XML and not in JSON. I am not sure where to Accept the content does that happen in the Web API application.
I am new to API's not sure where I am missing things. Any help is greatly appreciated