1
0
Fork 0
arangodb/Documentation/Examples/RestImportCsvExample.generated

16 lines
322 B
Plaintext

shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/import?collection=products
[ "_key", "value1", "value2" ]
[ "abc", 25, "test" ]
[ "foo", "bar", "baz" ]
HTTP/1.1 201 Created
content-type: application/json; charset=utf-8
{
"error" : false,
"created" : 2,
"errors" : 0,
"empty" : 1
}