public void SendRequestTest() { NeteaseMusicAPI api = new NeteaseMusicAPI(); var result = api.SendData("http://music.163.com/weapi/v1/resource/comments/A_PL_0_740840138", "{\"rid\":\"A_PL_0_740840138\",\"offset\":\"0\",\"total\":\"true\",\"limit\":\"20\",\"csrf_token\":\"\"}", "viK2GeGEcwnIPOzB"); Assert.IsTrue(result?.IndexOf("isMusician") != -1); result = api.SendData("http://music.163.com/weapi/v1/resource/comments/A_PL_0_740840138", "{\"rid\":\"A_PL_0_740840138\",\"offset\":\"0\",\"total\":\"true\",\"limit\":\"20\",\"csrf_token\":\"\"}"); Assert.IsTrue(result?.IndexOf("isMusician") != -1); }