{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","params":[],"results":{"codes":[]},"settings":""},"next":{"description":"","pages":[]},"title":"Authentication","type":"basic","slug":"authentication","excerpt":"","body":"Authentication requires a key, which can be acquired by sending an email to products:::at:::azuga.com. You will need to include your encoded key in every request.\n[block:callout]\n{\n  \"type\": \"success\",\n  \"title\": \"Using BASIC authentication.\",\n  \"body\": \"All request should contain the following header.\\n\\nAuthorization: Basic <Base64Encoded>\"\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"byte[] authEncBytes = Base64.encodeBase64(\\\"2\\\".getBytes());\\nString authStringEnc = new String(authEncBytes);\",\n      \"language\": \"java\",\n      \"name\": \"Java Snippet\"\n    }\n  ]\n}\n[/block]","updates":["5b6306640a49a50003a11620"],"order":1,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"559289f9b823772300f00f0e","githubsync":"","parentDoc":null,"__v":6,"category":{"sync":{"isSync":false,"url":""},"pages":["559286c7c39c4b2d00127a73","559289bfc39c4b2d00127a7d","559289f9b823772300f00f0e","55928a86c39c4b2d00127a81","55928aaac39c4b2d00127a84","56542cd921e73e23000d40b3"],"title":"DOCUMENTATION","slug":"documentation","order":0,"from_sync":false,"reference":false,"_id":"559286c7c39c4b2d00127a72","__v":6,"createdAt":"2015-06-30T10:16:50.052Z","project":"55926c913735880d005f7c65","version":"559286c6c39c4b2d00127a71"},"version":{"version":"1","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["559286c7c39c4b2d00127a72","55928a98c39c4b2d00127a83","5592bd7b9a68220d00f1c3db","5593dcaf0e82e81700334e25","5594342f0c33bd0d000595a3","563081713998420d00a509e4","5630941c7581b80d00c51c86","56309f4ff1c0580d00fac666","567923b8239fac0d00c7df25","573306dea6a9c40e00e13875","577a288fd051530e00f65563","579af3982b865e17005a4357","57ee06aa1e42900e0014a374","5951f49a63f39000159e7ef1","5951f4c563f39000159e7ef2","598951542a9dfc000fcacd40","5b3375cc98cb500003e4b363","5bbcd4e29667280003084100"],"_id":"559286c6c39c4b2d00127a71","createdAt":"2015-06-30T12:08:38.768Z","project":"55926c913735880d005f7c65","releaseDate":"2015-06-30T12:08:38.768Z","__v":18,"forked_from":"559286b6c39c4b2d00127a6e"},"project":"55926c913735880d005f7c65","user":"55926c39cf9cdb2100b57022","createdAt":"2015-06-30T12:22:17.591Z"}
Authentication requires a key, which can be acquired by sending an email to [email protected] You will need to include your encoded key in every request. [block:callout] { "type": "success", "title": "Using BASIC authentication.", "body": "All request should contain the following header.\n\nAuthorization: Basic <Base64Encoded>" } [/block] [block:code] { "codes": [ { "code": "byte[] authEncBytes = Base64.encodeBase64(\"2\".getBytes());\nString authStringEnc = new String(authEncBytes);", "language": "java", "name": "Java Snippet" } ] } [/block]