584
Views
3
Comments
Solved
How to use images/binary data in REST api's for expose and consume?
Application Type
Reactive

How to Expose and Consume Images/Binary Data using REST API in Reactive Application

2021-05-21 09-12-32
Purva Kumbhar
Solution

Hi,

Thank you for your help .

I got the another solution without using any components. 

1) You have to expose REST Api in that time you have to use Base64ToBinary action set the file in property.

2) Once you consume REST Api then you have to convert again using BinaryToBase64 action. 


ExposeRest.png
UserImage.jpg
Ellakkiya

Hi Purva Kumbhar,

You can use the Multipart/form-data plugin available in the forge.

Kindly refer the attached link https://itnext.io/consuming-a-multipart-form-data-rest-method-with-outsystems-c466e404118d

Hope this helps!

Regards,

Ellakkiya.S


2021-05-21 09-12-32
Purva Kumbhar
Solution

Hi,

Thank you for your help .

I got the another solution without using any components. 

1) You have to expose REST Api in that time you have to use Base64ToBinary action set the file in property.

2) Once you consume REST Api then you have to convert again using BinaryToBase64 action. 


ExposeRest.png
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.