You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There have been previous issues (#24, #28) on this but I haven't been able to get it to work, what am I missing 😕? Also I'm not using Spring which many answers/solutions seem to use.
The text was updated successfully, but these errors were encountered:
Facing the same issue. Basically, sending an object in the multipart/form-data, the content type becomes text/plain. Which is not desirable. Could not find a way to set the content type to application/json.
Using these deps:
feign-core
andfeign-gson
12.3
.feign-form
3.8.0
. JDK 19.I can't get JSON serialisation working when using
POST multipart/form-data
for POJO->JSON and File.Example:
Debugger showed the POJO is not written to the output at all:
If I serialise the POJO first then it works, (but uses
text/plain
):There have been previous issues (#24, #28) on this but I haven't been able to get it to work, what am I missing 😕? Also I'm not using Spring which many answers/solutions seem to use.
The text was updated successfully, but these errors were encountered: