diff --git a/restler-core/src/main/java/net/researchgate/restdsl/queries/ServiceQuery.java b/restler-core/src/main/java/net/researchgate/restdsl/queries/ServiceQuery.java index fdae48a..b5b9f59 100644 --- a/restler-core/src/main/java/net/researchgate/restdsl/queries/ServiceQuery.java +++ b/restler-core/src/main/java/net/researchgate/restdsl/queries/ServiceQuery.java @@ -289,8 +289,9 @@ public String toUrlPart() { if (ids != null && !ids.isEmpty()) { sb.append(Joiner.on(",").join(ids)); } else { - sb.append("-;"); + sb.append("-"); } + sb.append(';'); if (criteria != null) { for (String c : criteria.keySet()) { sb.append(c).append("=");