【问题标题】:Escape sequence getting error with my curl command in git bash在 git bash 中使用我的 curl 命令转义序列出错
【发布时间】:2018-06-28 09:08:47
【问题描述】:

嗨,我在 git bash 中尝试我的 curl 命令时出现转义序列错误

curl -H "Content-Type: application/json" -X POST http://localhost:8080/bimws/post/addCostCode -d '{""companyid"":""14"", ""costcodejson"":""{\""costcode\"":\""sample only\""}""}'

【问题讨论】:

    标签: curl git-bash


    【解决方案1】:

    "companyid": "129","costcodejson": "{\"costcode\":\"sample only\"}"

    【讨论】:

      猜你喜欢
      • 2018-11-16
      • 2013-02-04
      • 2022-01-24
      • 1970-01-01
      • 2018-03-18
      • 1970-01-01
      • 1970-01-01
      • 2015-02-05
      • 2020-04-30
      相关资源
      最近更新 更多