diff --git a/vars/drafter.groovy b/vars/drafter.groovy index 4769a55..7cd73b4 100644 --- a/vars/drafter.groovy +++ b/vars/drafter.groovy @@ -59,7 +59,7 @@ def response = httpRequest(customHeaders: [[name: 'Accept', value: type]], authentication: credentials, httpMode: 'POST', - url: "${baseUrl}/v1/draftsets?id=${id}&query=${sparqlQuery}&union-with-live=true") + url: "${baseUrl}/v1/draftset/${id}/query?query=${sparqlQuery}&union-with-live=true") if (response.status == 200) { return response.content } else {