{"action":"created","issue":{"url":"https://api.github.com/repos/3scale/echo-api/issues/11","repository_url":"https://api.github.com/repos/3scale/echo-api","labels_url":"https://api.github.com/repos/3scale/echo-api/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/3scale/echo-api/issues/11/comments","events_url":"https://api.github.com/repos/3scale/echo-api/issues/11/events","html_url":"https://github.com/3scale/echo-api/pull/11","id":188559329,"number":11,"title":"Support XML response #6 and add global response counter #9","user":{"login":"msavy","id":423513,"avatar_url":"https://avatars.githubusercontent.com/u/423513?v=3","gravatar_id":"","url":"https://api.github.com/users/msavy","html_url":"https://github.com/msavy","followers_url":"https://api.github.com/users/msavy/followers","following_url":"https://api.github.com/users/msavy/following{/other_user}","gists_url":"https://api.github.com/users/msavy/gists{/gist_id}","starred_url":"https://api.github.com/users/msavy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msavy/subscriptions","organizations_url":"https://api.github.com/users/msavy/orgs","repos_url":"https://api.github.com/users/msavy/repos","events_url":"https://api.github.com/users/msavy/events{/privacy}","received_events_url":"https://api.github.com/users/msavy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-11-10T16:46:09Z","updated_at":"2016-11-10T22:14:48Z","closed_at":"2016-11-10T22:00:09Z","pull_request":{"url":"https://api.github.com/repos/3scale/echo-api/pulls/11","html_url":"https://github.com/3scale/echo-api/pull/11","diff_url":"https://github.com/3scale/echo-api/pull/11.diff","patch_url":"https://github.com/3scale/echo-api/pull/11.patch"},"body":"```\r\n{\r\n  \"method\": \"GET\",\r\n  \"path\": \"/foo/bar\",\r\n  \"args\": \"baz=alpha\",\r\n  \"body\": \"\",\r\n  \"counter\": 5,\r\n  \"headers\": {\r\n    \"HTTP_VERSION\": \"HTTP/1.1\",\r\n    \"HTTP_HOST\": \"localhost:3000\",\r\n    \"HTTP_CONNECTION\": \"keep-alive\",\r\n    \"HTTP_UPGRADE_INSECURE_REQUESTS\": \"1\",\r\n    \"HTTP_USER_AGENT\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.87 Safari/537.36\",\r\n    \"HTTP_ACCEPT\": \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\",\r\n    \"HTTP_ACCEPT_ENCODING\": \"gzip, deflate, sdch, br\",\r\n    \"HTTP_ACCEPT_LANGUAGE\": \"en-GB,en;q=0.8,en-US;q=0.6,es;q=0.4\"\r\n  }\r\n}\r\n```\r\n\r\n```\r\n<echoResponse>\r\n  <method>POST</method>\r\n  <path>/a/b/c</path>\r\n  <counter>9</counter>\r\n  <body>foo</body>\r\n  <headers>\r\n    <header>\r\n      <key>VERSION</key>\r\n      <value>HTTP/1.1</value>\r\n    </header>\r\n    <header>\r\n      <key>HOST</key>\r\n      <value>localhost:3000</value>\r\n    </header>\r\n    <header>\r\n      <key>USER_AGENT</key>\r\n      <value>curl/7.49.1</value>\r\n    </header>\r\n    <header>\r\n      <key>ACCEPT</key>\r\n      <value>application/xml</value>\r\n    </header>\r\n  </headers>\r\n  <args>\r\n    <arg>\r\n      <key>a</key>\r\n      <value>2</value>\r\n    </arg>\r\n  </args>\r\n</echoResponse>\r\n```\r\n\r\n@EricWittmann See above. Other features will be separate PR(s).\r\n\r\nYes, the XML is a bit verbose. But that's XML for you :-)."},"comment":{"url":"https://api.github.com/repos/3scale/echo-api/issues/comments/259823538","html_url":"https://github.com/3scale/echo-api/pull/11#issuecomment-259823538","issue_url":"https://api.github.com/repos/3scale/echo-api/issues/11","id":259823538,"user":{"login":"mikz","id":154571,"avatar_url":"https://avatars.githubusercontent.com/u/154571?v=3","gravatar_id":"","url":"https://api.github.com/users/mikz","html_url":"https://github.com/mikz","followers_url":"https://api.github.com/users/mikz/followers","following_url":"https://api.github.com/users/mikz/following{/other_user}","gists_url":"https://api.github.com/users/mikz/gists{/gist_id}","starred_url":"https://api.github.com/users/mikz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikz/subscriptions","organizations_url":"https://api.github.com/users/mikz/orgs","repos_url":"https://api.github.com/users/mikz/repos","events_url":"https://api.github.com/users/mikz/events{/privacy}","received_events_url":"https://api.github.com/users/mikz/received_events","type":"User","site_admin":false},"created_at":"2016-11-10T22:14:48Z","updated_at":"2016-11-10T22:14:48Z","body":"Deployed http://echo-api.herokuapp.com/"}}
{"actor":{"display_login":"mikz"}}