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调用
猜你喜欢
转载自blog.csdn.net/zhangweibin123/article/details/81282055
今日推荐
周排行