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

19 lines
384 B
Plaintext

shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/import?collection=products&createCollection=true <<EOF
[ "value1", "value2" ]
[ 1234, null ]
[ "foo", "bar" ]
[ 534.55, true ]
EOF
HTTP/1.1 201 Created
content-type: application/json; charset=utf-8
{
"error" : false,
"created" : 3,
"errors" : 0,
"empty" : 0,
"updated" : 0,
"ignored" : 0
}