I used for that the following command line:
:POST /db/data/transaction/commit {"statements":[{"statement":"match n return n"}]}
when I set this query into a PHP variable, I get the following error:
Fatal error: Uncaught exception 'Neoxygen\NeoClient\Exception\Neo4jException' with message 'Neo4j Exception with code "Neo.ClientError.Statement.InvalidSyntax" and message "Invalid input ':' in C:\wamp\www\PhpProjectNeo4j1\vendor\neoxygen\neoclient\src\Extension\AbstractExtension.php on line 88
Could you please explain to me how can I add this command in PHP?