on 2025 Mar 04 3:56 PM
Hello everyone,
thank you for your time.
Technical Specs:
Scenario:
It is required to connect the SAP PO to a 3rd party system. This 3rd party System offers a REST API. Therefore, I would like to use the REST receiver channel.
The problem is, that the 3rd party system requires the REST request to have content type multipart/form-data. It requires a PDF File to be sent as an attachment and two form-data parameters to be provided. Here a screenshot from Postman:
Note that two of the for-data parameters are texts, whereas the third is a file.
When I route this postman request to webhook.site, this is the result:
Is it possible to replicate this functionality in a REST receiver channel?
I have tried using the module parameter MessageTransformBean to achieve this, but without success.
Thank you in advance!
Greetings,
Nick
Request clarification before answering.
I was not able to find a solution in the REST adapter channel itself. I ended up having to write a java mapping, which created the entire form-data call manually.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.