I'm trying to access the rest api of my local Neo4j instance. I have read the docs which state that in order to log in you must supply an Authorization header such as the following:
Authorization: Basic {base64 string}
This works perfectly for GET http://localhost/user/neo4j
as expected, but it fails with the following message for GET http://localhost/db/data
:
{"errors": [{
"code": "Neo.ClientError.Security.Unauthorized",
"message": "No authentication header supplied."
}]}
Does anyone know what I am doing wrong?
neo4j 3.6 on Mac OSX Sierra