Hi Andy. That was it, I should have thought of that. /Thanks ________________________________ Från: Andy Seaborne <a...@apache.org> Skickat: den 16 juni 2020 13:04 Till: users@jena.apache.org <users@jena.apache.org> Ämne: Re: Posting query over HTTP on Fuseki (webapp) on Tomcat
If you just dropped in the fuseki.war, then the Fuseki server is at http://localhost:8080/fuseki/ and the URL is: http://localhost:8080/fuseki/model1/ You can replace the ROOT webapp then no "fuseki/" should work. Andy On 16/06/2020 10:49, Martynas Jusevičius wrote: > I think the port is 3030 by default. > > On Tue, 16 Jun 2020 at 11.28, Glenn TheMan <anykeystu...@hotmail.com> wrote: > >> I am running Fuseki (3.14.0) as a webapp on Tomacat on localhost:8080. >> The Fusekia interface is accessible on >> http://localhost:8080/fuseki/index.html but what port is used for posting >> a SPARQL query over HTTP to the server. >> >> I have a dataset named "model1" that I want to query. I use Postman REST >> client to query (GET/POST) the dataset: >> >> GET: http://localhost:8080/model1/sparql?query=SELECT * WHERE { ?s ?p ?o} >> (GET >> http://localhost:8080/model1/sparql?query=SELECT%20%2A%20WHERE%20%7B%20?s%20?p%20?o%7D >> ) >> >> But only get: HTTP Status 404 – Not Found >> >> POST: POST http://localhost:8080/model1/sparql >> Body: query: "SELECT * WHERE { ?s ?p ?o}" >> >> What port and what is the correct pattern to query Fuseki over HTTP? >> >