public void UpdateAbuseReport(AbuseReport report, string Password)
 {
     try
     {
         Dictionary <string, object> send = report.ToKeyValuePairs();
         send.Add("Password", Password);
         send.Add("METHOD", "AddAbuseReport");
         List <string> m_ServerURIs = m_registry.RequestModuleInterface <IConfigurationService>().FindValueOf("RemoteServerURI");
         SynchronousRestFormsRequester.MakeRequest("POST",
                                                   m_ServerURIs[0] + "/abusereport",
                                                   WebUtils.BuildQueryString(send));
     }
     catch (Exception e)
     {
         m_log.DebugFormat("[ABUSEREPORT CONNECTOR]: Exception when contacting friends server: {0}", e.Message);
     }
 }
        public void AddAbuseReport(AbuseReport abuse_report)
        {
            try
            {
                List <string> m_ServerURIs = m_registry.RequestModuleInterface <IConfigurationService>().FindValueOf("RemoteServerURI");
                foreach (string m_ServerURI in m_ServerURIs)
                {
                    Dictionary <string, object> ar = abuse_report.ToKeyValuePairs();
                    ar.Add("METHOD", "AddAbuseReport");

                    SynchronousRestFormsRequester.MakeRequest("POST",
                                                              m_ServerURI + "/abusereport",
                                                              WebUtils.BuildQueryString(ar));
                }
            }
            catch (Exception e)
            {
                m_log.DebugFormat("[ABUSEREPORT CONNECTOR]: Exception when contacting friends server: {0}", e.Message);
            }
        }