cancel
Showing results for 
Search instead for 
Did you mean: 
Status: Needs More Info
Hi,

some REST API calls expect to receive binary stream instead of text. For this there is no workaround in Web API Blue Prism solution. One must create a code stage to be able to send such a request which is then a bit complicated in the overall architecture. It would be good to get an option which specifies that the request should be kept as a binary stream.
3 Comments
ewilson
Staff
Staff
Hi @Zdeněk Kabátek,

Are you referring to submitting something like a multipart request that includes a binary file (ex. a PDF or image) in the stream?

Cheers,
Eric​
Hi, Eric,

well, I was using REST API of a product which expected a file being transferred as binary stream within API call (no need to create multipart request). I used HTTP VBO to send the file as binary stream to resolve the issue but I would like current BP Web API to support the same. 

Not sure if I helped you. If you need more information it might be better that I show it to you.

Regards,

Zdenek
ewilson
Staff
Staff
Did you try using the Single File option for the request body definition? 

Cheers,
Eric