如何将curl命令转换为邮递员(PayPal纠纷API)

时间:2020-05-27 08:51:43

标签: postman

开发here

时遇到问题

这个curl命令是我以前从未遇到过的,而且很长一段时间都没有解决
请帮我 如何转换为邮递员格式,我使用邮递员的导入无法正确识别

代码:

curl -v -X POST https://api.sandbox.paypal.com/v1/customer/disputes/PP-D-27803/provide-evidence \
-H "Content-Type: multipart/related; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW" \
-H "Authorization: Bearer Access-Token" \
-F 'input={
  "evidences": [
{
  "evidence_type": "PROOF_OF_FULFILLMENT",
  "evidence_info": {
  "tracking_info": [
    {
    "carrier_name": "FEDEX",
    "tracking_number": "122533485"
    }
  ]
  },
  "notes": "Test"
}
  ]
};type=application/json' \
-F 'file1=@NewDoc.pdf'

enter image description here

enter image description here

1 个答案:

答案 0 :(得分:0)

我自己解决了

看图片

目前只能使用curl成功邮递员python请求php都没有成功

主要还是后面这个@符号

enter image description here

相关问题