carlasheep
New Member
I have an ApiController that serves XML/JSON, but I would like one of my actions to return pure HTML. I tried the below but it still return XML/JSON.\[code\]public string Get(){ return "<strong>test</strong>";}\[/code\]This is what the above returns:\[code\]<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/"><strong>test</strong></string>\[/code\]Is there a way to return just the pure, unescaped text without even the surrounding XML tags (maybe a different return type of action attribute)?