idea 使用Rest Client模拟Json请求

1. 激活Rest Client

2 tools=>Test Restful Web Service x

3. 填写参数,重点是要加入content-type:application/json,并在RequestBody的text写入json

4. 点击左侧三角形运行就可以了

猜你喜欢

转载自blog.csdn.net/howard789/article/details/81287947