mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
3.0.0
This commit is contained in:
@@ -189,18 +189,6 @@ public class AllInOneTest extends TestBase {
|
||||
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);
|
||||
}
|
||||
|
||||
/**
|
||||
* 演示文件上传
|
||||
*/
|
||||
|
Reference in New Issue
Block a user