Forum Discussion

manohar's avatar
manohar
Contributor
5 years ago

Rest Post with attachment and form data

Hello Snaplogic gurus,

Can any one give me pointers how I can convert this into snaplogic pipeline?

Thanks
Manohar

curl -L -X POST ‘https://test.coupahost.com/api/purchase_orders/471/attachments
-H ‘Accept: application/json’
-H 'X-COUPA-API-KEY: xxxxxx
-F ‘attachment[file]=Coupa_Supplier_termsv5.pdf’
-F ‘attachment[type]=file’
-F ‘attachment[intent]=Supplier’