spring調用第三方接口

post請求 content-type:json userData.put("accountid", "-1"); //設置請求頭 HttpHeaders headers = new HttpHeaders(); headers.add("Accept", "application/json"); headers.add("Content-Type", contentType); //
相關文章
相關標籤/搜索