public static void Send_CrossRefFileEpisode(JMMServer.Entities.CrossRef_File_Episode data) { if (!ServerSettings.WebCache_XRefFileEpisode_Send) { return; } string uri = string.Format(@"http://{0}/api/CrossRef_File_Episode", azureHostBaseAddress); CrossRef_File_EpisodeInput input = new CrossRef_File_EpisodeInput(data); string json = JSONHelper.Serialize <CrossRef_File_EpisodeInput>(input); SendData(uri, json, "POST"); }
public static void Send_CrossRefFileEpisode(JMMServer.Entities.CrossRef_File_Episode data) { if (!ServerSettings.WebCache_XRefFileEpisode_Send) return; string uri = string.Format(@"http://{0}/api/CrossRef_File_Episode", azureHostBaseAddress); CrossRef_File_EpisodeInput input = new CrossRef_File_EpisodeInput(data); string json = JSONHelper.Serialize<CrossRef_File_EpisodeInput>(input); SendData(uri, json, "POST"); }