diff --git a/Documentation/Examples/api-graph-create-edge b/Documentation/Examples/api-graph-create-edge index 330f5851ac..cf473d52c7 100644 --- a/Documentation/Examples/api-graph-create-edge +++ b/Documentation/Examples/api-graph-create-edge @@ -1,7 +1,7 @@ > curl --data @- -X POST --dump - http://localhost:8529/_api/graph/graph1/edge {"_key" : "edge1", "_from" : "vert2", "_to" : "vert1", "optional1" : "val1"} -HTTP/1.1 200 OK +HTTP/1.1 201 Created content-type: application/json; charset=utf-8 { @@ -15,5 +15,5 @@ content-type: application/json; charset=utf-8 "optional1": "val1" }, "error": false, - "code": 200 + "code": 201 } diff --git a/Documentation/Examples/api-graph-create-graph b/Documentation/Examples/api-graph-create-graph index c849f53693..f8181f2635 100644 --- a/Documentation/Examples/api-graph-create-graph +++ b/Documentation/Examples/api-graph-create-graph @@ -1,7 +1,7 @@ > curl --data @- -X POST --dump - http://localhost:8529/_api/graph {"_key" : "graph1", "vertices" : "v", "edges" : "e"} -HTTP/1.1 200 OK +HTTP/1.1 201 Created content-type: application/json; charset=utf-8 { @@ -13,5 +13,5 @@ content-type: application/json; charset=utf-8 "edges": "e" }, "error": false, - "code": 200 + "code": 201 } diff --git a/Documentation/Examples/api-graph-create-vertex b/Documentation/Examples/api-graph-create-vertex index 52e6dd3c8f..0ecd55ff4b 100644 --- a/Documentation/Examples/api-graph-create-vertex +++ b/Documentation/Examples/api-graph-create-vertex @@ -1,7 +1,7 @@ > curl --data @- -X POST --dump - http://localhost:8529/_api/graph/graph1/vertex {"_key" : "v1", "optional1" : "val1", "optional2" : "val2"} -HTTP/1.1 200 OK +HTTP/1.1 201 Created content-type: application/json; charset=utf-8 { @@ -13,5 +13,5 @@ content-type: application/json; charset=utf-8 "optional2": "val2" }, "error": false, - "code": 200 + "code": 201 }