I built a website using .net MVC, and there is an img in the view. And the attribute src refer to an action Render, just like this:
<img src="XXX/render?..." />
public ActionResult Render()
{
   return new FileContentResult(byte[], "jpg"); // just like this
}
Thus, it works well and the "img" displays correctly. But now the url size is over limits. So I have to use Post request by ajax. And I use the XMLHttpRequest and assign the responseXML to the img's src . And it doesn't work.
What should I do?
 
     
     
    