{"__v":0,"_id":"588b7d8fe840643900a40aa8","category":{"__v":0,"_id":"57d6ada046dcc30e007dd15e","project":"566c97797831040d003eb3bc","version":"566c97797831040d003eb3bf","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-09-12T13:29:04.136Z","from_sync":false,"order":8,"slug":"drivers-and-languages","title":"Language center"},"parentDoc":null,"project":"566c97797831040d003eb3bc","user":"5716283e40ef9c2000cac92a","version":{"__v":10,"_id":"566c97797831040d003eb3bf","project":"566c97797831040d003eb3bc","createdAt":"2015-12-12T21:54:01.970Z","releaseDate":"2015-12-12T21:54:01.970Z","categories":["566c977a7831040d003eb3c0","5716338cb5af590e00a0ff1d","57163947893cbe0e002d75fc","57163f41b5af590e00a0ff35","57cd74d2873de50e00724a2f","57cd7de8baaee30e0093ecc3","57d6ada046dcc30e007dd15e","57fdc2b31646dc0e0010480a","57fdd8b86c9d141900d87bf1","58767da4d89ef20f003b6f1e"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-01-27T17:04:15.616Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":8,"body":"[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"About connection parameters\",\n  \"body\": \"We've used test credentials for all the following examples. Please replace them with your real connection parameters.\\n\\nYou'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](docs:connecting-to-your-database).\"\n}\n[/block]\n## curl\n\ncurl is free and open source software to transfer data from or to a server, using one of the supported protocols.\n\nCurl documentation: https://curl.haxx.se/\n\nThis tool is useful to run queries using the Neo4j transactional HTTP endpoint. You’ll find a more detailed information about this endpoint [here](http://neo4j.com/docs/developer-manual/current/http-api).\n\nRequest to begin and commit a transaction for creating a dummy node:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -i -H 'Content-Type: application/json'  \\\\\\nhttp://v303:GtGq5rkdxu:::at:::hobby-geefdaeefcom.dbs.graphenedb.com:24789/db/data/transaction/commit \\\\\\n-d {\\\"statements\\\": [{\\\"statement\\\": \\\"CREATE (n:Person {name: ‘Bob’})\\\"}]}\",\n      \"language\": \"shell\",\n      \"name\": \"curl\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"connecting-via-curl","type":"basic","title":"Connecting via curl"}

Connecting via curl


[block:callout] { "type": "info", "title": "About connection parameters", "body": "We've used test credentials for all the following examples. Please replace them with your real connection parameters.\n\nYou'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](docs:connecting-to-your-database)." } [/block] ## 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](http://neo4j.com/docs/developer-manual/current/http-api). Request to begin and commit a transaction for creating a dummy node: [block:code] { "codes": [ { "code": "curl -i -H 'Content-Type: application/json' \\\nhttp://v303:GtGq5rkdxu@hobby-geefdaeefcom.dbs.graphenedb.com:24789/db/data/transaction/commit \\\n-d {\"statements\": [{\"statement\": \"CREATE (n:Person {name: ‘Bob’})\"}]}", "language": "shell", "name": "curl" } ] } [/block]