请求错误请求400批处理文件

时间:2017-06-21 10:31:38

标签: batch-file curl post nginx bad-request

我在Windows Server 2012标准上使用命令行工具start cmd /K "cd C:\Users\Administrator.PD\mycurl && curl -L -H "X-Cisco-Meraki-API-Key: xxxx" -X Post -H "Content-Type: application/json" -d "{"\name\":"\test\"}" "https://dashboard.meraki.com/api/v0/organizations"" 。我的批处理文件中的实际命令是:

<html>
<head><title>400 Bad Request</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<hr><center>nginx</center>
</body>
</html>

如果我启动批处理文件,我会收到此错误按摩:

{{1}}

有人可以帮帮我吗?

0 个答案:

没有答案
相关问题