On Fri, 2021-04-30 at 13:24 +0000, Luí­s Moreira de Sousa via Virtuoso-
users wrote:
> Hi all,
> I would like to submit queries to the SPARQL endpoint using the POST
> method to avoid payload limits with GET. For some reason, Virtuoso is
> not able to identify the query in the message body. An example:
> $ curl -X POST -H "Accept:text/html" --data "select distinct ?Concept
> where {[] a ?Concept} LIMIT 100" http://localhost:8890/sparql
> Virtuoso 22023 Error The request does not contain text of SPARQL
> Am I doing something wrong here? Or should I use a different method?

Try adding another header with: -H "Content-Type: application/sparql-

Kind regards,
Roel Janssen

Virtuoso-users mailing list

Reply via email to