如何编写批处理文件以执行curl命令

时间:2019-08-09 00:12:50

标签: curl

您能告诉我如何编写批处理文件来执行以下操作吗?

curl -X POST \
  'http://localhost:11040/rest/api/v3.0/databases/ravn/lock/instance/rpl1?
rights.claims=superuser' \
  -H 'Accept: application/json' \
  -H 'Cache-Control: no-cache' \
  -H 'Content-Type: application/json' \
  -d '"true"'

我在与批处理文件相同的目录中包含curl.exe,但我正在卷曲:无法解析主机:\,并且以下所有内容均未被识别为内部命令

0 个答案:

没有答案
相关问题