Project

General

Profile

Actions

RESTInterface » History » Revision 2

« Previous | Revision 2/4 (diff) | Next »
Paula Gearon, 04/21/2009 05:27 AM
Description of the read-only endpoint


= REST =

Default Configuration
By default, there are two REST interfaces on a standalone Mulgara server. These are found at: * http://localhost:8080/sparql/ * http://localhost:8080/tql/

The interfaces provide similar functionality, with the /sparql/ interface accepting SPARQL queries, and the /tql/ interface accepting [wiki:TQLUserGuide TQL] queries. Note that SPARQL is a query-only language, while TQL permits full [http://en.wikipedia.org/wiki/Create,_read,_update_and_delete CRUD] operations.

Note that these paths end with a / (slash). The built-in server provides a redirect from the URLs without a slash to the correct URL, but not all clients handle this correctly. For instance the [http://en.wikipedia.org/wiki/Wget WGet] utility handles this correctly, but [http://en.wikipedia.org/wiki/CURL cURL] does not.

=== Read-Only ===
A read-only interface is also available at: * http://localhost:8081/sparql/
This interface is provided for public access to the server, where updates are undesirable.

WAR Files
The read/write interfaces are also available as a deployable Web application in a WAR file. See [wiki:Configuration] for more details. Interface Description * [wiki:Configuration] * [wiki:RESTQueries Queries and Commands] * [wiki:RESTStatements Statements] * [wiki:RESTGraphs Graphs]

Updated by Paula Gearon about 15 years ago · 2 revisions