spring调用第三方接口

post请求 content-type:json userData.put("accountid", "-1"); //设置请求头 HttpHeaders headers = new HttpHeaders(); headers.add("Accept", "application/json"); headers.add("Content-Type", contentType); //
相关文章
相关标签/搜索