使用Mac在终端中使用以下卷曲尝试在REST API的PATCH句柄上进行压力测试:
curl -d ‘{“beacon”: ”1”, “itemLocation”: ”WW5”}’ -H "Content-Type: application/json" --request PATCH http://myamazontestapi.com/api/products curl -s "myamazontesapi.com/api/products[1-10]"
但是在命令行中出现以下错误:
curl: (3) [globbing] unmatched close brace/bracket in column 29
curl: (6) Could not resolve host: request
curl: (6) Could not resolve host: PATCH
有什么想法吗?