{"action":"opened","issue":{"url":"https://api.github.com/repos/Netflix/ribbon/issues/236","labels_url":"https://api.github.com/repos/Netflix/ribbon/issues/236/labels{/name}","comments_url":"https://api.github.com/repos/Netflix/ribbon/issues/236/comments","events_url":"https://api.github.com/repos/Netflix/ribbon/issues/236/events","html_url":"https://github.com/Netflix/ribbon/issues/236","id":96893479,"number":236,"title":"Header substituion, similar to Feign?","user":{"login":"bobmcwhirter","id":15951,"avatar_url":"https://avatars.githubusercontent.com/u/15951?v=3","gravatar_id":"","url":"https://api.github.com/users/bobmcwhirter","html_url":"https://github.com/bobmcwhirter","followers_url":"https://api.github.com/users/bobmcwhirter/followers","following_url":"https://api.github.com/users/bobmcwhirter/following{/other_user}","gists_url":"https://api.github.com/users/bobmcwhirter/gists{/gist_id}","starred_url":"https://api.github.com/users/bobmcwhirter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobmcwhirter/subscriptions","organizations_url":"https://api.github.com/users/bobmcwhirter/orgs","repos_url":"https://api.github.com/users/bobmcwhirter/repos","events_url":"https://api.github.com/users/bobmcwhirter/events{/privacy}","received_events_url":"https://api.github.com/users/bobmcwhirter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-23T19:58:59Z","updated_at":"2015-07-23T19:58:59Z","closed_at":null,"body":"It would be lovely if in annotation-based services, we could do:\r\n\r\n  @Http(\r\n    uri=\"...',\r\n    headers = {\r\n      Http.Header( name=\"Authorization\", value=\"Bearer {token}\" )\r\n    } \r\n  )\r\n  public void callIt(@Var(\"token\") String token) {\r\n   ....\r\n  }"}}