diff --git a/src/main/java/cokr/xit/foundation/web/WebClient.java b/src/main/java/cokr/xit/foundation/web/WebClient.java index 9c94059..7aa4d7a 100644 --- a/src/main/java/cokr/xit/foundation/web/WebClient.java +++ b/src/main/java/cokr/xit/foundation/web/WebClient.java @@ -376,7 +376,8 @@ public class WebClient { */ public Request json(JSON json) { this.json = json; - return contentType(ContentType.JSON); + contentType(ContentType.JSON); + return header("Accept", ContentType.JSON.type); } private JSON json() {