public ApiResponse ExecuteRequest(IApiRequest request) { XmlHttpRequest httpRequest = (XmlHttpRequest)request; string requestRaw = httpRequest.Serialize(); SetLastRequestRaw(requestRaw); HttpResponse response = HttpTools.GetResponseFromPost(this.ApiUrl, requestRaw); string strResponseText = response.ResponseText; SetLastResponseRaw(strResponseText); return(GetResponseFromXml(strResponseText)); }