Connecting via curl

About connection parameters

We've used test credentials for all the following examples. Please replace them with your real connection parameters.

You'll find all the required information to connect to your database on our admin panel if you navigate to the Connection section. More on connecting to your database here.

curl

curl is free and open source software to transfer data from or to a server, using one of the supported protocols.

Curl documentation: https://curl.haxx.se/

This tool is useful to run queries using the Neo4j transactional HTTP endpoint. You’ll find a more detailed information about this endpoint here.

Request to begin and commit a transaction for creating a dummy node:

curl -i -H 'Content-Type: application/json'  \
http://v303:GtGq5rkdxu@hobby-geefdaeefcom.dbs.graphenedb.com:24789/db/data/transaction/commit \
-d {"statements": [{"statement": "CREATE (n:Person {name: ‘Bob’})"}]}

Connecting via curl