| | |
| | | import org.apache.http.util.EntityUtils; |
| | | import com.qianwen.smartman.common.constant.DncConstant; |
| | | |
| | | /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/util/HttpClientUtils.class */ |
| | | public class HttpClientUtils { |
| | | public static JSONObject postForForm(String url, Map<String, String> parms) { |
| | | HttpPost httpPost = new HttpPost(url); |
| | | ArrayList<BasicNameValuePair> list = new ArrayList<>(); |
| | | parms.forEach(key, value -> { |
| | | parms.forEach((key, value) -> { |
| | | list.add(new BasicNameValuePair(key, value)); |
| | | }); |
| | | CloseableHttpClient httpClient = HttpClients.createDefault(); |