This commit is contained in:
Looly 2019-10-23 13:20:45 +08:00
parent e8dfe71199
commit a3afad68df

View File

@ -25,6 +25,18 @@ public class HttpUtilTest {
Console.log(result); Console.log(result);
} }
@Test
@Ignore
public void postTest2() {
// 某些接口对Accept头有特殊要求此处自定义头
String result = HttpUtil
.createPost("http://cmp.ishanghome.com/cmp/v1/community/queryClusterCommunity")
.header(Header.ACCEPT, "*/*")
.execute()
.body();
Console.log(result);
}
@Test @Test
@Ignore @Ignore
public void getTest() { public void getTest() {