diff --git a/src/main/java/com/cloudius/urchin/api/APIClient.java b/src/main/java/com/cloudius/urchin/api/APIClient.java index 3eaedf5..9b1e70c 100644 --- a/src/main/java/com/cloudius/urchin/api/APIClient.java +++ b/src/main/java/com/cloudius/urchin/api/APIClient.java @@ -117,7 +117,8 @@ public class APIClient { } public String getStringValue(String string, MultivaluedMap queryParams) { - return getReader(string, queryParams).toString(); + return getRawValue(string, + queryParams).replaceAll("^\"|\"$", ""); } public String getStringValue(String string) {