按教程做一个软件 卡在这个地方半天了 希望高手帮忙解答!
参数转义有问题, 建议你都用双引号, 别用单引号, 对参数内部双引号用** 转义
如
--header "Content-Type: application/json" --data "{\"personalizations\": [{\"to\": [{\"email\": \"to_name@example.com\"}]}],\"from\": {\"email\": \"from_name@example.com\"},\"subject\": \"Hello, World!\",\"content\": [{\"type\": \"text/plain\", \"value\": \"Heya!\"}]}"
参见
https://stackoverflow.com/questions/4514199/how-to-send-double-quote-in-d-parameter-for-curl-exe