This commit is contained in:
Looly
2022-04-08 21:36:45 +08:00
parent 8dbeb7c90f
commit 2b79119c00
8 changed files with 111 additions and 37 deletions

View File

@@ -193,19 +193,4 @@ public class HttpRequestTest {
HttpRequest request =HttpUtil.createGet(url).form(map);
Console.log(request.execute().body());
}
@Test
public void issueI50NHQTest(){
String url = "http://127.0.0.1/devicerecord/list";
HashMap<String, Object> params = new HashMap<>();
params.put("start", "2022-03-31 00:00:00");
params.put("end", "2022-03-31 23:59:59");
params.put("page", 1);
params.put("limit", 10);
String result = HttpRequest.get(url)
.header("token", "123")
.form(params).toString();
Console.log(result);
}
}