Avatar upload broken
Closed this issue · 0 comments
Brutus5000 commented
Root cause:
The API endpoint /avatar/upload
only accepts content-type multipart/form-data
. We also create a rest object which is of this type. Somehow the Spring RestTemplate transforms this to application/json
again.