- From: Andy Seaborne <andy.seaborne@epimorphics.com>
- Date: Tue, 16 Oct 2012 08:44:15 +0100
- To: public-rdf-dawg@w3.org
---- Request (POST - create new graph) ----------
POST $GRAPHSTORE$ HTTP/1.1
Host: $HOST$
Content-Type: text/turtle
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix v: <http://www.w3.org/2006/vcard/ns#> .
[] a foaf:Person;
foaf:businessCard [
a v:VCard;
v:given-name "Alice"
]
------- Response ---------------------------------
201 Created
Location: $NEWPATH$
--------------------------------------------------
In
http://www.w3.org/2009/sparql/docs/http-rdf-update/#http-post
it says nothing about POSTing to the graph store itself. That makes
this test out of scope of GSP.
Other notes:
Test 1
- add trailing dot to produce valid Turtle
(this is in several of the tests)
Test 2
- need blank line at end of header
Test 3
- Malformed request
- should be (or can be) 204 (No Content), not 200
Andy
Received on Tuesday, 16 October 2012 07:44:43 UTC