I am trying to post to neo4j using curl on a mac and need a little help.
curl -i -H accept:application/json -H content-type:application/json
-XPOST http://localhost:7474/db/data/transaction/commit -d '{"statements":[{"statement":"CREATE (m:Movie {title: 'Harry Potter', year : '2001-11-14’}) RETURN m”}]}’
Error: -bash: syntax error near unexpected token `)'
If it is an escape character issue, where do I need to put them?
Any help is greatly appreciated. Thank you!