How to use POST multipart/form-data API in mapping

Created by Audric FREY, Modified on Mon, 19 Feb, 2024 at 10:07 AM by Cécile FRANCHINI

Hello,


In this article, we will check how to use POST multipart/form-data API in mapping.

For example, how to send a json and a zip file using multipart.


1) Create HTTP Rest metadata



2) Add a new Path and operation :


3) Add parameter corresponding to the API description :


4) Add the Request body, in my sample we send a json and zip file :


     A) Don't forget to specify Part FileName for each Part



    B) And the content



5) Use the metadata just created in your mapping :



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article