String json = "{\"name\": \"张三\"}";
byte[] body = json.getBytes();
SyncApiClient_winner_api testClient = SyncApiClient_winner_api.newBuilder()
.appKey("")
.appSecret("")
.build();
ApiResponse response = testClient.getName(body);
System.out.println(response.getStatusCode());
String s = new String(response.getBody(), "UTF-8");
System.out.println(s);
阿里云api GateWay调用
最新推荐文章于 2023-08-04 17:31:58 发布