Skip to content

Commit

Permalink
POST provider/assets set MediaType.APPLICATION_JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
dkovacevic committed May 7, 2024
1 parent 642c8b9 commit abadd30
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public AssetKey uploadProfilePicture(Cookie cookie, byte[] image, String mimeTyp
Response response = providerTarget
.path("provider")
.path("assets")
.request(MediaType.TEXT_PLAIN)
.request(MediaType.APPLICATION_JSON)
.cookie(cookie)
.post(Entity.entity(os.toByteArray(), "multipart/mixed; boundary=frontier"));

Expand Down

0 comments on commit abadd30

Please sign in to comment.