{"action":"opened","issue":{"url":"https://api.github.com/repos/xhad/okcoin-china/issues/1","repository_url":"https://api.github.com/repos/xhad/okcoin-china","labels_url":"https://api.github.com/repos/xhad/okcoin-china/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/xhad/okcoin-china/issues/1/comments","events_url":"https://api.github.com/repos/xhad/okcoin-china/issues/1/events","html_url":"https://github.com/xhad/okcoin-china/issues/1","id":197749235,"number":1,"title":"403 StatusCode :(","user":{"login":"samuelhei","id":11886742,"avatar_url":"https://avatars.githubusercontent.com/u/11886742?v=3","gravatar_id":"","url":"https://api.github.com/users/samuelhei","html_url":"https://github.com/samuelhei","followers_url":"https://api.github.com/users/samuelhei/followers","following_url":"https://api.github.com/users/samuelhei/following{/other_user}","gists_url":"https://api.github.com/users/samuelhei/gists{/gist_id}","starred_url":"https://api.github.com/users/samuelhei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samuelhei/subscriptions","organizations_url":"https://api.github.com/users/samuelhei/orgs","repos_url":"https://api.github.com/users/samuelhei/repos","events_url":"https://api.github.com/users/samuelhei/events{/privacy}","received_events_url":"https://api.github.com/users/samuelhei/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-27T19:46:36Z","updated_at":"2016-12-27T19:46:36Z","closed_at":null,"body":"Here is a dump from request-debuger.\r\n\r\n{ request: \r\n   { debugId: 1,\r\n     uri: 'https://www.okcoin.cn/api/v1/kline.do?symbol=btc_cny&type=1min&size=100',\r\n     method: 'GET',\r\n     headers: \r\n      { host: 'www.okcoin.cn',\r\n        accept: 'application/json',\r\n        'content-type': 'application/json',\r\n        'content-length': 2 },\r\n     body: '{}' } }\r\n{ response: \r\n   { debugId: 1,\r\n     headers: \r\n      { server: 'CloudFront',\r\n        date: 'Tue, 27 Dec 2016 19:30:25 GMT',\r\n        'content-type': 'text/html',\r\n        'content-length': '551',\r\n        connection: 'close',\r\n        'x-cache': 'Error from cloudfront',\r\n        via: '1.1 df5aa5d17dbc0643cb88a6bea4f59620.cloudfront.net (CloudFront)',\r\n        'x-amz-cf-id': '8FVXO6ny-tSgcam-4l2ypbG2ICHMh5SYrqjVatoB4s8Q9xW_4Disuw==' },\r\n     statusCode: 403,\r\n     body: '<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\\n<HTML><HEAD><META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=iso-8859-1\">\\n<TITLE>ERROR: The request could not be satisfied</TITLE>\\n</HEAD><BODY>\\n<H1>ERROR</H1>\\n<H2>The request could not be satisfied.</H2>\\n<HR noshade size=\"1px\">\\nBad request.\\n<BR clear=\"all\">\\n<HR noshade size=\"1px\">\\n<PRE>\\nGenerated by cloudfront (CloudFront)\\nRequest ID: 8FVXO6ny-tSgcam-4l2ypbG2ICHMh5SYrqjVatoB4s8Q9xW_4Disuw==\\n</PRE>\\n<ADDRESS>\\n</ADDRESS>\\n</BODY></HTML>' } }\r\n"}}
{"actor":{"display_login":"samuelhei"}}