{"action":"created","issue":{"url":"https://api.github.com/repos/educloudalliance/xroad-rest-gateway/issues/7","labels_url":"https://api.github.com/repos/educloudalliance/xroad-rest-gateway/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/educloudalliance/xroad-rest-gateway/issues/7/comments","events_url":"https://api.github.com/repos/educloudalliance/xroad-rest-gateway/issues/7/events","html_url":"https://github.com/educloudalliance/xroad-rest-gateway/issues/7","id":53247608,"number":7,"title":"Calling service using Rest client","user":{"login":"kakoni","id":812150,"avatar_url":"https://avatars.githubusercontent.com/u/812150?v=3","gravatar_id":"","url":"https://api.github.com/users/kakoni","html_url":"https://github.com/kakoni","followers_url":"https://api.github.com/users/kakoni/followers","following_url":"https://api.github.com/users/kakoni/following{/other_user}","gists_url":"https://api.github.com/users/kakoni/gists{/gist_id}","starred_url":"https://api.github.com/users/kakoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kakoni/subscriptions","organizations_url":"https://api.github.com/users/kakoni/orgs","repos_url":"https://api.github.com/users/kakoni/repos","events_url":"https://api.github.com/users/kakoni/events{/privacy}","received_events_url":"https://api.github.com/users/kakoni/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/educloudalliance/xroad-rest-gateway/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-02T11:12:45Z","updated_at":"2015-01-05T18:10:06Z","closed_at":null,"body":"In restful world you identify service using URL (example http://api.service.fi/users) but in security server/proxy world that wouldnt be the case I presume?\r\n\r\nSo the vision is to use something like http://localproxy (indicating the url of security server rest proxy) and then using X-XRd-Service http header to indicate what service you are calling?"},"comment":{"url":"https://api.github.com/repos/educloudalliance/xroad-rest-gateway/issues/comments/68749256","html_url":"https://github.com/educloudalliance/xroad-rest-gateway/issues/7#issuecomment-68749256","issue_url":"https://api.github.com/repos/educloudalliance/xroad-rest-gateway/issues/7","id":68749256,"user":{"login":"kyyberi","id":1927158,"avatar_url":"https://avatars.githubusercontent.com/u/1927158?v=3","gravatar_id":"","url":"https://api.github.com/users/kyyberi","html_url":"https://github.com/kyyberi","followers_url":"https://api.github.com/users/kyyberi/followers","following_url":"https://api.github.com/users/kyyberi/following{/other_user}","gists_url":"https://api.github.com/users/kyyberi/gists{/gist_id}","starred_url":"https://api.github.com/users/kyyberi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyyberi/subscriptions","organizations_url":"https://api.github.com/users/kyyberi/orgs","repos_url":"https://api.github.com/users/kyyberi/repos","events_url":"https://api.github.com/users/kyyberi/events{/privacy}","received_events_url":"https://api.github.com/users/kyyberi/received_events","type":"User","site_admin":false},"created_at":"2015-01-05T18:10:06Z","updated_at":"2015-01-05T18:10:06Z","body":"+1 for both ways "}}