cancel
Showing results for 
Search instead for 
Did you mean: 

REST Receiver Adapter - Multipart/form-data with key

Hi All,

We have a requirement to send the message to the receiver using REST receiver adapter. Let me explain the requirement with the help of Postman. Screenshot below:

Here we are hitting the URL with post and the it is with form-data, where we have 2 keys:

Content : Document content file (any format)

Metadata: XML metadata (String format)

When we hit the target from postman we are getting the correct response back in postman. But we are not able to replicate this in receiver REST adapter in SAP PO 7.5.

We have checked many blogs and tried with different options but no luck yet.

References: https://launchpad.support.sap.com/#/notes/2365727

https://answers.sap.com/questions/651950/how-to-we-send-form-data-and-attathment-handling-i.html

https://answers.sap.com/questions/450736/multipartmixed-data-handing-in-sap-pi.html

https://answers.sap.com/questions/738550/rest-receiver-adapter-multipartform-data.html#

Need your suggestion to implement this requirement in PI.

Thanks,

Sourabh

former_member223432
Participant
0 Kudos

Hey Sourabh,

Could you please let me know how did you resolve this issue?

thanks

Smith

ankit_mishra09
Participant
0 Kudos

Hi Suman,

Were you able to resolve it? I have a similar requirement where a zip file must be sent to cloud REST API with multipart/form-data with a key as "datasetFile" which is the zip file.

former_member815746
Discoverer
0 Kudos

Hi all, were you able to fix the issue?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member607993
Contributor
former_member607993
Contributor
0 Kudos

Hi Suman,

Please try your scenario as per above blogs. Let me know if its not working.