2020年8月21日

关于http 请求接口,url 末尾需要加斜杠 “/”才能正常访问的情况

摘要: 在调用接口url 末尾加 "/" ,则可以正常访问 HttpPost httpPost = new HttpPost(BASE_URL + ROUTE_PORT + "/cv/multiface-identification/"); 如果不加"/",那么接口返回状态码则是307(临时重定向) Htt 阅读全文

posted @ 2020-08-21 15:20 songzhiwei613 阅读(2505) 评论(0) 推荐(0) 编辑

使用fiddler监测java发送 Http请求

摘要: HttpHost proxy = new HttpHost("127.0.0.1",8888); RequestConfig requestConfig = RequestConfig.custom().setProxy(proxy).setSocketTimeout(10000).setConne 阅读全文

posted @ 2020-08-21 13:57 songzhiwei613 阅读(308) 评论(0) 推荐(0) 编辑

导航