I’m looking a way to convert this curl request to Postman request:
curl -i -X PATCH -H "Content-Type: multipart/form-data"
-F "[email protected]"
-F "patch={\"attributes\":{\"key\": \"user.logo\"}};
type=application/json" http://localhost:8080/media
I came up with solution on screenshoot:
I’m getting from by back-end code:
org.springframework.web.HttpMediaTypeNotSupportedException: Content type ‘text/plain;charset=UTF-8’ not supported…