开发中,我们经常会有抓包的需求。通过抓包,能一目了然请求的参数以及返回的数据是否符合预期,在定位问题的时候有很大的帮助作用。这里便写一下自己认为还不错的一个抓包工具Charles。
下载
这个根据系统版本自行谷歌、百度吧。
more >>
缺失模块。
1、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
2、在根目录_config.yml里添加配置:
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: true
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true