通过浏览器地址进行 post get 请求

首先安装curl

1、post

chcp 65001
title 接口测试脚本
d:
cd D:curl

curl -l -X POST -d "params" url
echo -----
pause

2、get

title 接口测试脚本
d:
cd D:curl
curl -X GET  "url“
echo -----
pause

  

原文地址:https://www.cnblogs.com/xdcr/p/5919433.html