When I execute this command :
curl -X POST
-H "Content-Type:application/json"
-d '{\"statements\" : [
{\"statement\" : \"MATCH n OPTIONAL MATCH n-[r]-m
DELETE n,r\"} ]}'
http://localhost:7474/db/data/transaction/commit
I get this result :
curl: (7) couldn't connect to host
curl: (3) [globbing] illegal character in range specification at pos 2
curl: (7) couldn't connect to host
curl: (6) Couldn't resolve host '"MATCH'
curl: (6) Couldn't resolve host 'n'
curl: (6) Couldn't resolve host 'OPTIONAL'
curl: (6) Couldn't resolve host 'MATCH'
curl: (3) [globbing] error: bad range specification after pos 4
curl: (6) Couldn't resolve host 'DELETE'
curl: (3) [globbing] unmatched close brace/bracket at pos 5
curl: (3) [globbing] unmatched close brace/bracket at pos 1
{"results":[],"errors":[]}
Why I get this problem ? knowing that I have a neo4j database ...