public async System.Threading.Tasks.Task RequestTestAsync() { var request = new UUIDToProfileRequest("00992bb84f6949b990dc309476a1426b", false); var resp = await ClientHelper.RequestAsync(request); Assert.True(resp.IsSuccess); Assert.Equal("MomoYoki", resp.Content.Name); }
public async System.Threading.Tasks.Task RequestRawTestAsync() { var request = new UUIDToProfileRequest("00992bb84f6949b990dc309476a1426b", false); var resp = await ClientHelper.RequestRawAsync(request); var content = await resp.Content.ReadAsStringAsync(); Assert.NotEmpty(content); Console.WriteLine(content); }