随笔分类 - http/tcp
摘要:测试http调试 curl -i -s -k -X 'Host: 10.100.10.102:9090' -H 'Cache-Control: no-cache' -H 'Upgrade-Ins
阅读全文
摘要:【Java SE】http请求HttpClient 文档:https://hc.apache.org/httpcomponents-client-4.5.x/current/tutorial/html/fundamentals.html 依赖 <dependency> <groupId>org.ap
阅读全文
摘要:post public static String doPost(String url, String json) { PrintWriter out = null; BufferedReader in = null; String result = ""; try { URL realUrl =
阅读全文