neosemantics
neosemantics copied to clipboard
/rdf/cypher endpoint: When missing required parameter in request, NPE is thrown instead of meaningful error message
To reproduce, run a request to the rdf/cypher endpoint with wrong fields (cypher_wrong instead of cypher). Example :
curl http://localhost:7474/rdf/cypher -d '{ "cypher_wrong": "MATCH path = ()-[:BY]->()<-[:BY]-() RETURN path LIMIT 1"}' --header "Authorization:Basic ..."
Throws a 500 with an NPE