Multipart/formdata with webMethods OnPremise and API Gateway

Product/components used and version/fix level are you on:

Product: webMethods Integration Server
Version: 10.7.0.0
Updates: IS_10.7_Core_Fix12
IS_10.7_SPM_Fix1

Product: webMethods API Gateway
Version: 10.7.0.23.731

Goal:

My goal is to implement a http POST request with multipart/formdata. Currently I implemented a flow service and a REST API Descriptor (RAD) on my Integration Server. I published the descriptor on my API Gateway.

Error Description

Now to the problem. When I send the request (over Postman) nothing except the header is arriving in the flow service. I was expecting a object named contentStream like in other posts. It is working when I use the service directly without API Gateway and RAD.
Do you know how I can solve my problem?

Thank you!

Timon

Can you share inputs and SS of postman and IS ? Calling a service from postman or from browser doesn’t really matter. If you can’t call the service with postman or you are missing some part of the request, that usually means your postman request object is faulty. It will be easier to compare them with a screenshot.

I fixed it by myself. I tried to combine JSON and multipart/form-data in one endpoint and the REST API descriptor (rad) can not handle it.
I split up the content types in two endpoints and it was working.

Glad to hear that it’s working now and thanks for the tech updates!!

Cheers!
RMG

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.