【发布时间】:2019-11-20 16:59:25
【问题描述】:
我尝试在邮递员中导入 curl 命令,但它给出类型错误。
curl -X POST -k foo:foosecret@localhost:9000/hascode/oauth/token \
-d grant_type=password -d client_id=foo -d client_secret=abc123 \
-d redirect_uri=https://www.hascode.com -d username=bar -d password=barsecret
截图如下:
【问题讨论】:
-
内容中有2个\,好像是从别处复制过来的?
-
是的,它的复制品,我没有它的正确知识。我已经尝试删除 2 \ 但仍然是同样的问题。