pull/1/MERGE
tanghc 5 years ago
parent 5c0a635a64
commit d3d53745f9
  1. 12
      sop-test/src/test/java/com/gitee/sop/test/AllInOneTest.java

@ -189,18 +189,6 @@ public class AllInOneTest extends TestBase {
client.execute(requestBuilder); client.execute(requestBuilder);
} }
/**
* 演示将接口名版本号跟在url后面规则:http://host:port/{method}/{version}/
*/
public void testRestful() {
Client.RequestBuilder requestBuilder = new Client.RequestBuilder()
.url("http://localhost:8081/alipay.story.get/1.0/")
.bizContent(new BizContent().add("name", "name111"))
.httpMethod(HttpTool.HTTPMethod.GET);
client.execute(requestBuilder);
}
/** /**
* 演示文件上传 * 演示文件上传
*/ */

Loading…
Cancel
Save