We're using Zuul as edge server. I want to write a filter that replaces the multipart/form-data from an inbound request with an entity which has the first application/json part of that request.
So that for example the request with multiparts:
[multipart/form-data]
[Part 1] << Application/JSON (name="info")
[Part 2] << Binary (name="file")
is translated into:
[application/json]
[Contents of Part 1]
Would this be possible with Zuul filters, and what type of filter should I use?