public static void Send_AnimeFull(SVR_AniDB_Anime data) { //if (!ServerSettings.Instance.WebCache.XRefFileEpisode_Send) return; string uri = $@"http://{azureHostBaseAddress}/api/animefull"; Azure_AnimeFull obj = data.ToAzure(); string json = JSONHelper.Serialize(obj); SendData(uri, json, "POST"); }
public static void Send_AnimeFull(SVR_AniDB_Anime data) { //if (!ServerSettings.WebCache_XRefFileEpisode_Send) return; string uri = string.Format(@"http://{0}/api/animefull", azureHostBaseAddress); Azure_AnimeFull obj = data.ToAzure(); string json = JSONHelper.Serialize <Azure_AnimeFull>(obj); SendData(uri, json, "POST"); }