{"action":"created","issue":{"url":"https://api.github.com/repos/twogee/ant-http/issues/21","labels_url":"https://api.github.com/repos/twogee/ant-http/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/twogee/ant-http/issues/21/comments","events_url":"https://api.github.com/repos/twogee/ant-http/issues/21/events","html_url":"https://github.com/twogee/ant-http/issues/21","id":75456820,"number":21,"title":"[CLOSED] Add support for storing the result code and output in properties","user":{"login":"twogee","id":3464244,"avatar_url":"https://avatars.githubusercontent.com/u/3464244?v=3","gravatar_id":"","url":"https://api.github.com/users/twogee","html_url":"https://github.com/twogee","followers_url":"https://api.github.com/users/twogee/followers","following_url":"https://api.github.com/users/twogee/following{/other_user}","gists_url":"https://api.github.com/users/twogee/gists{/gist_id}","starred_url":"https://api.github.com/users/twogee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twogee/subscriptions","organizations_url":"https://api.github.com/users/twogee/orgs","repos_url":"https://api.github.com/users/twogee/repos","events_url":"https://api.github.com/users/twogee/events{/privacy}","received_events_url":"https://api.github.com/users/twogee/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/twogee/ant-http/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/twogee/ant-http/labels/Milestone-1.1.3","name":"Milestone-1.1.3","color":"ededed"},{"url":"https://api.github.com/repos/twogee/ant-http/labels/OpSys-All","name":"OpSys-All","color":"ededed"},{"url":"https://api.github.com/repos/twogee/ant-http/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/twogee/ant-http/labels/Project-ant-http","name":"Project-ant-http","color":"ededed"},{"url":"https://api.github.com/repos/twogee/ant-http/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-12T04:26:26Z","updated_at":"2015-05-12T04:26:30Z","closed_at":null,"body":"<a href=\"https://github.com/GoogleCodeExporter\"><img src=\"https://avatars.githubusercontent.com/u/9614759?v=3\" align=\"left\" width=\"96\" height=\"96\" hspace=\"10\"></img></a> **Issue by [GoogleCodeExporter](https://github.com/GoogleCodeExporter)**\n_Monday May 11, 2015 at 22:05 GMT_\n_Originally opened as https://github.com/twogee/missing-link/issues/21_\n\n----\n\n```\nIt would be nice to be able to store the result code (e.g. 200, 404) in a \nproperty so that it can be used for controlling the subsequent flow in the Ant \nscript.\n\nThe same goes for the output from a request, e.g. GET.\n\nI have implemented this in a local copy but as I have incorporated in the patch \nin issue 13, a patch would not be that short and sweet. Anyway, it is trivial \nto implement this.\n\n\n```\n\nOriginal issue reported on code.google.com by `anders.j...@gmail.com` on 16 Aug 2011 at 11:20\n"},"comment":{"url":"https://api.github.com/repos/twogee/ant-http/issues/comments/101125532","html_url":"https://github.com/twogee/ant-http/issues/21#issuecomment-101125532","issue_url":"https://api.github.com/repos/twogee/ant-http/issues/21","id":101125532,"user":{"login":"twogee","id":3464244,"avatar_url":"https://avatars.githubusercontent.com/u/3464244?v=3","gravatar_id":"","url":"https://api.github.com/users/twogee","html_url":"https://github.com/twogee","followers_url":"https://api.github.com/users/twogee/followers","following_url":"https://api.github.com/users/twogee/following{/other_user}","gists_url":"https://api.github.com/users/twogee/gists{/gist_id}","starred_url":"https://api.github.com/users/twogee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twogee/subscriptions","organizations_url":"https://api.github.com/users/twogee/orgs","repos_url":"https://api.github.com/users/twogee/repos","events_url":"https://api.github.com/users/twogee/events{/privacy}","received_events_url":"https://api.github.com/users/twogee/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T04:26:30Z","updated_at":"2015-05-12T04:26:30Z","body":"<a href=\"https://github.com/GoogleCodeExporter\"><img src=\"https://avatars.githubusercontent.com/u/9614759?v=3\" align=\"left\" width=\"48\" height=\"48\" hspace=\"10\"></img></a> **Comment by [GoogleCodeExporter](https://github.com/GoogleCodeExporter)**\n_Monday May 11, 2015 at 22:05 GMT_\n\n----\n\n```\nAdded an attribute to the root http task \"entityProperty\" which defines a \nproperty to save the response entity to.  For example:\n\n  <target name=\"http-get\">\n    <http url=\"http://www.google.com\" entityProperty=\"ent\"/>\n    <echo message=\"resp: ${ent}\"/>\n  </target>\n```\n\nOriginal comment by `alex.she...@gmail.com` on 18 Aug 2011 at 2:54\n* Changed state: **Fixed**\n"}}