- 博客(1)
- 收藏
- 关注
原创 HttpClient 调用https接口的三种方式
最近在工作过程中遇到使用httpClient去call https接口失败的问题, 所以就此做了个学习记录, 在这过程中可以通过一下三种方式中的任何一种都解决了上诉问题1.ignore https certificate通过在httpClient call https接口之前先调用如下代码即可忽略https认证private static DefaultHttpClient httpClientTrustingAllSSLCerts() throws NoSuchAlgorithmException
2020-09-27 17:29:39
11279
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人