bat批处理,curl模拟http请求

bat curl

Posted by Fe on June 22, 2018
   

get请求

::切换为utf-8编码
chcp 65001
::get请求
curl https://fedemo.top/plugins/search/cb-search.json

post请求

::post请求
curl --data "param1=value1&param2=value" https://fedemo.top/plugins/search/cb-search.json

版权声明

本文为博主Fe原创文章,转载请注明出处 https:/fedemo.top/2018/06/22/bat-curl/