{"action":"opened","issue":{"url":"https://api.github.com/repos/jkbrzt/httpie/issues/487","repository_url":"https://api.github.com/repos/jkbrzt/httpie","labels_url":"https://api.github.com/repos/jkbrzt/httpie/issues/487/labels{/name}","comments_url":"https://api.github.com/repos/jkbrzt/httpie/issues/487/comments","events_url":"https://api.github.com/repos/jkbrzt/httpie/issues/487/events","html_url":"https://github.com/jkbrzt/httpie/issues/487","id":165058484,"number":487,"title":"Feature idea: pipelining - `http GET /foo`","user":{"login":"SamuelMarks","id":807580,"avatar_url":"https://avatars.githubusercontent.com/u/807580?v=3","gravatar_id":"","url":"https://api.github.com/users/SamuelMarks","html_url":"https://github.com/SamuelMarks","followers_url":"https://api.github.com/users/SamuelMarks/followers","following_url":"https://api.github.com/users/SamuelMarks/following{/other_user}","gists_url":"https://api.github.com/users/SamuelMarks/gists{/gist_id}","starred_url":"https://api.github.com/users/SamuelMarks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamuelMarks/subscriptions","organizations_url":"https://api.github.com/users/SamuelMarks/orgs","repos_url":"https://api.github.com/users/SamuelMarks/repos","events_url":"https://api.github.com/users/SamuelMarks/events{/privacy}","received_events_url":"https://api.github.com/users/SamuelMarks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-12T11:39:36Z","updated_at":"2016-07-12T11:39:36Z","closed_at":null,"body":"Just came across this: https://github.com/micha/resty\r\n\r\n```\r\n$ resty http://127.0.0.1:8080/data\r\n$ GET /blogs.json\r\n[ {\"id\" : 1, \"title\" : \"first post\", \"body\" : \"This is the first post\"}, ... ]\r\n$ PUT /blogs/2.json '{\"id\" : 2, \"title\" : \"updated post\", \"body\" : \"This is the new.\"}'\r\n{\"id\" : 2, \"title\" : \"updated post\", \"body\" : \"This is the new.\"}\r\n$ DELETE /blogs/2\r\n$ POST /blogs.json '{\"title\" : \"new post\", \"body\" : \"This is the new new.\"}'\r\n{\"id\" : 204, \"title\" : \"new post\", \"body\" : \"This is the new new.\"}\r\n```\r\n\r\nWould be terminal dependent, but should be straightforward enough to just set an environment variable for the base url and something like `urlparse.urljoin(os.environ['BASE_URL'], **rest)` for it in Python.\r\n\r\nIf this is of interest I'll work on a PR."}}
{"actor":{"display_login":"SamuelMarks"}}