Skip to content

feature: Allow Custom HTTP routes and preprocessors to handle binary uploads #4471

@gcleaves

Description

@gcleaves

I have a flow which processes a file and returns some data about the file. At the moment the flow takes base64 input. But I'd like to see if I can decrease the upload size by allowing a binary upload instead of having to use base64 text. The goal is also to improve the endpoint consumer's experience so they can use a tool like Postman or Curl without first needing to convert the file to base64.

Maybe the acceptable content-type could be set in the Custom HTTP route and it passes the raw body to the preprocessor.

Copied from discussion #4470

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions