mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
add test
This commit is contained in:
parent
e8dfe71199
commit
a3afad68df
@ -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() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user