导入cURL至Postman时触发e.startsWith Is Not A Function错误
Postman导入cURL报错:e.startsWith Is Not A Function
我尝试通过Postman的「导入>原始文本」功能导入以下cURL命令:
curl https://invoice-generator.com \ -H "Accept-Language: fr-FR" \ -d from="Invoiced, Inc." \ -d to="Acme Corp." \ -d logo="https://invoiced.com/img/logo-invoice.png" \ -d number=1 \ -d currency=eur \ -d date="Feb 9, 2015" \ -d due_date="Feb 16, 2015" \ -d items[0][name]="Starter plan monthly" \ -d items[0][quantity]=1 \ -d items[0][unit_cost]=99 \ > invoice.pdf
(来源:invoice-generator开发者文档)
但导入时触发错误:
Error while importing Curl: e.startsWith Is Not A Function
我见过关于Postman中运行cURL时出现该错误的相关帖子,但本次是导入环节出现问题,不清楚解决办法。
内容的提问来源于stack exchange,提问作者Alex S
相关产品推荐
相关产品推荐

