Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
11-11-2022 05:30 PM
Hello,
I tried to use the below command and have been getting the Payload doesn't seem to be valid (JSON) data error message.
But when used just the match statement, I could fetch the data.
Could someone help me on this please?
Thanks,
Jashwanth
#neosemantics #post #rdf #schema
Solved! Go to Solution.
11-11-2022 07:33 PM
The error is indicating the payload is not proper json. The manual states that the payload is a json map with up to four keys. the first is the cypher query, whose key is ‘cypher’. It looks like you are missing this key in your payload. Insert “cypher” before the semicolon that is in front of your cypher. The renaming three parameters look optional.
11-11-2022 07:33 PM
The error is indicating the payload is not proper json. The manual states that the payload is a json map with up to four keys. the first is the cypher query, whose key is ‘cypher’. It looks like you are missing this key in your payload. Insert “cypher” before the semicolon that is in front of your cypher. The renaming three parameters look optional.
11-12-2022 07:20 PM
Thank you so much!!!!
This one worked.
:POST http://localhost:11004/rdf/neo4j/cypher {"cypher": "MATCH (n: Artist { name: 'John Lennon'}) return n"}
All the sessions of the conference are now available online