mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fox licene in pom and remove log for htttp
This commit is contained in:
@@ -18,6 +18,7 @@ import cn.hutool.json.JSONUtil;
|
||||
public class RestTest {
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("deprecation")
|
||||
public void contentTypeTest() {
|
||||
HttpRequest request = HttpRequest.post("http://localhost:8090/rest/restTest/")//
|
||||
.body(JSONUtil.createObj().put("aaa", "aaaValue").put("键2", "值2"));
|
||||
@@ -26,6 +27,7 @@ public class RestTest {
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
@SuppressWarnings("deprecation")
|
||||
public void postTest() {
|
||||
HttpRequest request = HttpRequest.post("http://localhost:8090/rest/restTest/")//
|
||||
.body(JSONUtil.createObj().put("aaa", "aaaValue").put("键2", "值2"));
|
||||
@@ -42,6 +44,7 @@ public class RestTest {
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
@SuppressWarnings("deprecation")
|
||||
public void postTest3() {
|
||||
HttpRequest request = HttpRequest.post("http://211.162.39.204:8181/jeesite-simple/a/open/bizGwbnService/test")//
|
||||
.body(JSONUtil.createObj().put("aaa", "aaaValue").put("键2", "值2"));
|
||||
|
Reference in New Issue
Block a user