将CURL转换为Power Shell抛出错误

时间:2019-05-09 21:01:56

标签: powershell

无法将CURL主体转换为Powershell Invoke-restMethod

curl -X POST \ https://someapi/applications \ -H 'authorization: Bearer 05519515-ba32-f44609659ec7' \ -H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \ -H 'x-anypnt-env-id: 42cd325-7fe6-4948-9818-d841498115d' \ -H 'x-anypnt-org-id: 32t4f25-50092-40060-b0907-khh5ac3e' \ -F file=undefined \ -F artifactName=test-cicd \ -F targetId=831357

0 个答案:

没有答案