Replies: 2 comments
-
I've been given a suggestion on SO, so I'll try that, although it would be nice to have away out of the box. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is a valid issue IMO. I filed https://issues.redhat.com/browse/RESTEASY-3217 to fix this. There is a change I may break the workaround I suggested on SO though as I think the map should be 1 private and there should only be 1 map, not two. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello there!
I'm trying to send a document to a remote API with RestEasy on Quarkus.
The API I'm calling requires me to send a multipart/form-data body with 3 files. Problem is, the API cares about the order in which they are specified and will return an error if they are in the wrong order.
The parameters are called PARAMETERS, INDEX and DATA and need to be specified in this exact order and intentionally uppercased. I'm using a MultipartFormDataOutput to store the files to send, but the keys are sent in the wrong order as seem to get ordered alphabetically. Is there any way to alter the order? I tried reversing them, thinking maybe they got stacked, but the order is unchanged at call time.
I also posted a question on SO, hoping someone catches it and comes up with a suggestion :)
Beta Was this translation helpful? Give feedback.
All reactions