"未找到"从.net app到neo4j的REST请求

时间:2017-10-17 07:10:54

标签: .net rest neo4j restsharp

基于https://neo4j.com/docs/rest-docs/3.2/#rest-api-get-service-root

var client = new RestClient();

        client.BaseUrl = new Uri("http://localhost:7474/db/data");
        client.Authenticator = new HttpBasicAuthenticator("a1oleg", _pass);

        var request = new RestRequest("GET");

        request.AddHeader("Accept", "application/json");
        request.AddHeader("Accept-charset", "UTF-8");  

        IRestResponse response = client.Execute(request);

0 个答案:

没有答案