markdown
市面绝大部分文档编辑工具都使用的是markdown
下载地址
链接:https://pan.baidu.com/s/1xEazr6nGtdrozvBgMxgd2Q
提取码:lz0z
文件-》偏好设置,设置图片的保存位置,避免图片被无意删除
post封装
String[] parame = parames.split("&");
List<NameValuePair> list = new ArrayList<NameValuePair>();
for (int i = 0; i < parame.length; i++) {
String string = parame[i];
String[] str = string.split("=");
list.add(new BasicNameValuePair(str[0], str[1]));
}
UrlEncodedFormEntity entity = new UrlEncodedFormEntity(list, "utf-8");
HttpPost httpPost = new HttpPost(url);
httpPost.setEntity(entity);
CloseableHttpResponse response = httpclient.execute(httpPost);
fiddler拦截和httpclient代理
static boolean openProxy=false;
static HttpHost proxy = new HttpHost("127.0.0.1", 8888, "http");
static RequestConfig defaultRequestConfig = RequestConfig.custom