///WebHttpContext.Current.Request.Scheme为http ///WebHttpContext.Current.Request.Host 为域名 var host = WebHttpContext.Current.Request.Scheme + "://" + WebHttpContext.Current.Request.Host;//http://test-newWr.com
string apiUrl = host + "/Images/";