Accessing Neo4j from the command line using curl
Curl is a popular command-line tool used to access and transfer the data using various protocols. Because the REST API uses the HTTP protocol to transfer data, the curl tool becomes a command-line tool that is used to access the REST API, which is exposed by the Neo4j graph database server.
In this recipe, we will learn how to access the Neo4j graph database server using curl.
Getting ready
The service root endpoint by default is http://host:port/db/data/
, which can also be seen through the web interface by opening the endpoint URL in the browser. You will see something similar to this:
How to do it... ...
Get Neo4j Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.