美文网首页
curl {"status":"error","err-code

curl {"status":"error","err-code

作者: 郭欢小哥 | 来源:发表于2020-12-11 15:13 被阅读0次

    curl报错 :

      Unexpected character ('/' (code 47)): maybe a (non-standard) comment? (not recognized a

    s one since Feature 'ALLOW_COMMENTS' not enabled for parser)

     at [Source: java.io.FileInputStream@222a59e6; line: 10, column: 25]

     at [Source: java.io.FileInputStream@222a59e6; line: 10, column: 17] (through reference chain: java.util.ArrayList[0]->com

    .github.dreamhead.moco.parser.model.SessionSetting["response"]->co

    解决办法:

    将请求参数前 加  \

    -d '{ \

        "price": "2500", \

        "amount": "1", \

        "account-id": 111112188, \

        "source": "spot-web", \

        "type": "buy-limit", \

        "symbol": "htusdt" \

    }'

    相关文章

      网友评论

          本文标题:curl {"status":"error","err-code

          本文链接:https://www.haomeiwen.com/subject/xkvjgktx.html