private void ExecuteSendRequest() { IResponseInfo result = null; try { result = RestManager.GetInstance().MakeRequest(RequestUrl, SelectedHttpVerb, "text/xml", PostData); } catch (RestException restEx) { Messenger.Default.Send <GenericMessage <string> >(new GenericMessage <string>(restEx.Message), "RestException"); return; } ResponseBody = result.ResponseData; ResponseHeaders = GetResponseHeaders(result.ResponseHeaders); ResponseStatus = GetResponseStatus(result.ResponseStatusCode); Histories.Insert(0, new RequestInfo() { Url = RequestUrl, Verb = SelectedHttpVerb }); }