Api 在Postman中导入Curl失败-找到无选项参数

Api 在Postman中导入Curl失败-找到无选项参数,api,curl,postman,Api,Curl,Postman,我已经尝试使用文件>>导入>>粘贴原始文本将原始卷曲粘贴到Postman中。但是,在导入Curl:2选项时,我发现了error:error。只支持一个(URL)。下面是卷曲 curl 'https://example.com/api/dataexport/user_token' -X POST -H 'Content-Type: application/json;charset=UTF-8' -H 'Accept: application/json' -H 'Accept: applicatio

我已经尝试使用文件>>导入>>粘贴原始文本将原始卷曲粘贴到Postman中。但是,在导入Curl:2选项时,我发现了error:error。只支持一个(URL)。下面是卷曲

curl 'https://example.com/api/dataexport/user_token' -X POST -H 'Content-Type: application/json;charset=UTF-8' -H 'Accept: application/json' -H 'Accept: application/vnd.boostr.dataexport' -H 'Accept-Encoding: gzip, deflate, sdch, br' -H 'Connection: keep-alive' --data-binary '{"auth":{"email”:”example@example.com”,”password”:”example”}}’ --compressed

--数据二进制
值中的引号需要从
(印刷引号)替换为
(ASCII引号)

尝试导入以下内容:

curl 'https://example.com/api/dataexport/user_token' -X POST -H 'Content-Type: application/json;charset=UTF-8' -H 'Accept: application/json' -H 'Accept: application/vnd.boostr.dataexport' -H 'Accept-Encoding: gzip, deflate, sdch, br' -H 'Connection: keep-alive' --data-binary '{"auth":{"email":"example@example.com","password":"example"}}' --compressed

从Chrome开发工具复制请求时,请使用“复制为卷曲(bash)”选项以确保Postman将接受该格式。

--不支持压缩将其从末尾删除

并使用“复制为卷曲(bash)”选项