{"action":"opened","issue":{"url":"https://api.github.com/repos/NodeBB/nodebb-plugin-write-api/issues/33","labels_url":"https://api.github.com/repos/NodeBB/nodebb-plugin-write-api/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/NodeBB/nodebb-plugin-write-api/issues/33/comments","events_url":"https://api.github.com/repos/NodeBB/nodebb-plugin-write-api/issues/33/events","html_url":"https://github.com/NodeBB/nodebb-plugin-write-api/issues/33","id":100779794,"number":33,"title":"Java","user":{"login":"ItsJamesJ","id":9618118,"avatar_url":"https://avatars.githubusercontent.com/u/9618118?v=3","gravatar_id":"","url":"https://api.github.com/users/ItsJamesJ","html_url":"https://github.com/ItsJamesJ","followers_url":"https://api.github.com/users/ItsJamesJ/followers","following_url":"https://api.github.com/users/ItsJamesJ/following{/other_user}","gists_url":"https://api.github.com/users/ItsJamesJ/gists{/gist_id}","starred_url":"https://api.github.com/users/ItsJamesJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ItsJamesJ/subscriptions","organizations_url":"https://api.github.com/users/ItsJamesJ/orgs","repos_url":"https://api.github.com/users/ItsJamesJ/repos","events_url":"https://api.github.com/users/ItsJamesJ/events{/privacy}","received_events_url":"https://api.github.com/users/ItsJamesJ/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-13T14:16:05Z","updated_at":"2015-08-13T14:16:05Z","closed_at":null,"body":"Hi,\r\nAny way that I can connect to the API using Java?\r\nI am doing this:\r\n\r\n` con.setRequestProperty(\"Authorization\", \"Bearer <my-key>\");`\t\r\n\r\nBut I get this: \r\n`Server returned HTTP response code: 401 for URL:`\r\n\r\nAny ideas?\r\n\r\nThanks."}}