On 28/02/15 10:09, Andy Seaborne wrote:
On 28/02/15 02:59, Nauman Ramzan wrote:
Yes exactly empty html document with success heading.
It's not HTML - no Content-type.
Can I get json form success/error response. Or any array ?
The response is contained the HTTP status code.
This is the SPARQL Update Protocol definition.
If the response if 4xx or 5xx 9an error of some kind, the body has a
... it is an error ...
plain text message
What information would be in the JSON?
Surely the sparql-client returns the status code some how?
Andy
Thankx.
On Feb 28, 2015, at 12:44 AM, Andy Seaborne <[email protected]> wrote:
On 27/02/15 19:10, Nauman Ramzan wrote:
Hey all !
I am using fuseki and sparql-client in nodejs. On successfully
insert/update fiseki is sending html document back. How can i change
that response so that i can get json response back.
If you use the SPARQL Update endpoint, you get back an empty body (no
MIME type).
What document are you getting back?
And second what are these services in config-tdb-text.ttl file
1 :- fuseki:serviceReadGraphStore "Get"
2 :- fuseki:serviceReadWriteGraphStore "data"
How and why we are define these services ?
Those are SPARQL Graph Store Protocol endpoints, for the read-only
and read-write services. See the SPARQL Graph Store Protocol spec.
Thanks
Regards
Nauman
Andy