Open hiasince opened 4 years ago
I suspect the issue is in the way the @Produces
and @Consumes
resolve. The FormEncoder
is looking for a specific header Content-Type
, with @Consumes
should produce. As a way to troubleshoot, can you try removing the @Produces
annotation? It doesn't really make sense from a client perspective.
@kdavisk6
Thanks for answer my question.
I removed the @Produces
but nothing changed...
I've try to use feign for uploading image file.
First, I followed the example provided on the github README file(https://github.com/OpenFeign/feign-form)
This code is working
After then, I wanted to add and use JAXRSContract.
But this code is not working
In the case of using the above code, I got the following error message.
I think those two code have to execute as same way. Is there has any problem on second code initialized with JAXRSContract? or Is there has other way to upload file using FormEncoder and JAXRSContract?