mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
add methods
This commit is contained in:
@@ -57,6 +57,7 @@ public class RestTest {
|
|||||||
@Ignore
|
@Ignore
|
||||||
public void getWithBodyTest2() {
|
public void getWithBodyTest2() {
|
||||||
HttpRequest request = HttpRequest.get("https://ad.oceanengine.com/open_api/2/advertiser/info/")//
|
HttpRequest request = HttpRequest.get("https://ad.oceanengine.com/open_api/2/advertiser/info/")//
|
||||||
|
// Charles代理
|
||||||
.setHttpProxy("localhost", 8888)
|
.setHttpProxy("localhost", 8888)
|
||||||
.header("Access-Token","")
|
.header("Access-Token","")
|
||||||
.body(JSONUtil.createObj()
|
.body(JSONUtil.createObj()
|
||||||
|
Reference in New Issue
Block a user