{"action":"created","issue":{"url":"https://api.github.com/repos/arangodb/arangojs/issues/49","labels_url":"https://api.github.com/repos/arangodb/arangojs/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/arangodb/arangojs/issues/49/comments","events_url":"https://api.github.com/repos/arangodb/arangojs/issues/49/events","html_url":"https://github.com/arangodb/arangojs/issues/49","id":91919165,"number":49,"title":"Request headers for remote connection","user":{"login":"pipechang","id":3925814,"avatar_url":"https://avatars.githubusercontent.com/u/3925814?v=3","gravatar_id":"","url":"https://api.github.com/users/pipechang","html_url":"https://github.com/pipechang","followers_url":"https://api.github.com/users/pipechang/followers","following_url":"https://api.github.com/users/pipechang/following{/other_user}","gists_url":"https://api.github.com/users/pipechang/gists{/gist_id}","starred_url":"https://api.github.com/users/pipechang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pipechang/subscriptions","organizations_url":"https://api.github.com/users/pipechang/orgs","repos_url":"https://api.github.com/users/pipechang/repos","events_url":"https://api.github.com/users/pipechang/events{/privacy}","received_events_url":"https://api.github.com/users/pipechang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-29T21:54:21Z","updated_at":"2015-06-30T21:51:20Z","closed_at":"2015-06-30T21:47:18Z","body":"I'm trying to a simple test call to look for all collections, with the arangodb being in another server:\r\n\r\n    config = {\r\n        db: {\r\n            url: 'http://test:test@1.2.3.4:8529'\r\n        }\r\n    };\r\n\r\n    Database = require('arangojs');\r\n\r\n    var db = new Database(config.db);\r\n\r\n    db.collections(function (err, collections) {\r\n        if (err) {\r\n            return console.error(err);\r\n        }\r\n        console.log(collections);\r\n    });\r\n\r\nBut I keep getting an unknown path error.\r\n\r\n    '{\"error\":true,\"code\":404,\"errorNum\":404,\"errorMessage\":\"unknown path \\'\\\\\\\\_db\\\\\\\\_system\\\\\\\\_api\\\\\\\\collection?excludeSystem=true\\'\"}' } }\r\n\r\nI have no trouble accessing the web interface, so I believe it's a headers issue, but I haven't found a workaround.\r\n\r\n**Update: I tried installing arangodb in my local machine (windows 8) and I get the same result."},"comment":{"url":"https://api.github.com/repos/arangodb/arangojs/issues/comments/117355169","html_url":"https://github.com/arangodb/arangojs/issues/49#issuecomment-117355169","issue_url":"https://api.github.com/repos/arangodb/arangojs/issues/49","id":117355169,"user":{"login":"pipechang","id":3925814,"avatar_url":"https://avatars.githubusercontent.com/u/3925814?v=3","gravatar_id":"","url":"https://api.github.com/users/pipechang","html_url":"https://github.com/pipechang","followers_url":"https://api.github.com/users/pipechang/followers","following_url":"https://api.github.com/users/pipechang/following{/other_user}","gists_url":"https://api.github.com/users/pipechang/gists{/gist_id}","starred_url":"https://api.github.com/users/pipechang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pipechang/subscriptions","organizations_url":"https://api.github.com/users/pipechang/orgs","repos_url":"https://api.github.com/users/pipechang/repos","events_url":"https://api.github.com/users/pipechang/events{/privacy}","received_events_url":"https://api.github.com/users/pipechang/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T21:51:20Z","updated_at":"2015-06-30T21:51:20Z","body":"Just updated, it solves the issue.\r\nThanks pluma and dothebart . "}}