• RestTemplate请求


    JSONObject json = new JSONObject(sendParam);
    HttpHeaders headers = new HttpHeaders();
    MediaType type = MediaType.parseMediaType("application/json; charset=UTF-8");
    headers.setContentType(type);
    HttpEntity<String> reqE = new HttpEntity<String>(json.toString(), headers);
    RestTemplate restTemplate = new RestTemplate();
    ResponseEntity<Map> result = restTemplate.exchange(url, HttpMethod.POST, reqE, Map.class);

  • 相关阅读:
    sort()
    type()
    reverse()
    pop()
    remove()
    max()
    len()
    Ext.Js核心函数( 三)
    聚簇索引和非聚簇索引区别
    Ext.js入门(二)
  • 原文地址:https://www.cnblogs.com/zt007/p/6511041.html
Copyright © 2020-2023  润新知