Multipart/form-data - defining the multipart entities

Scenario: Trying to do a HTTP POST request with multipart/form-data, which includes text and images. However the file is required to be sent only as an attachment. The text has to be defined in the Parameter section.

Is there a way to define the multipart/form-data as a JSON using boundary? How to send image with Content-Type set to image/type

Steps to reproduce:

Current Behavior:

Expected Behavior: The text and image or any other content type should have independent definition and image should be rendered at the receiving end instead of going as file attachment. This works perfectly from any browser based REST Client.

Studio/Robot/Orchestrator Version: Studio Version 2016.2.6379

Last stable behavior:
Last stable version:
OS Version: Windows 7
Others if Relevant: (workflow, logs, .net version, service pack, etc):

@msusila Hi, Have you received any feedback or have you found the solution for this?

No I have not. I am running a java utility and posting the image using REST Post.

Hi, Me too going through same scenario, did you got solution??

Thanks,
Meg

Please refer to How to send a Body type "Form Data" using POST in a HTTP Request - #2 by Mateus_Cruz

2 Likes

Got it thanks a lot. :blush:

Meg