Project

General

Profile

Actions

RESTInterface » History » Revision 3

« Previous | Revision 3/4 (diff) | Next »
Paula Gearon, 04/21/2009 07:18 AM
Reworded a sentence


= 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.

The paths listed both 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 almost 15 years ago · 3 revisions