{"action":"opened","issue":{"url":"https://api.github.com/repos/hapijs/discuss/issues/63","labels_url":"https://api.github.com/repos/hapijs/discuss/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/hapijs/discuss/issues/63/comments","events_url":"https://api.github.com/repos/hapijs/discuss/issues/63/events","html_url":"https://github.com/hapijs/discuss/issues/63","id":53393521,"number":63,"title":"Validating payload when using proxy","user":{"login":"ulrikaugustsson","id":1607770,"avatar_url":"https://avatars.githubusercontent.com/u/1607770?v=3","gravatar_id":"","url":"https://api.github.com/users/ulrikaugustsson","html_url":"https://github.com/ulrikaugustsson","followers_url":"https://api.github.com/users/ulrikaugustsson/followers","following_url":"https://api.github.com/users/ulrikaugustsson/following{/other_user}","gists_url":"https://api.github.com/users/ulrikaugustsson/gists{/gist_id}","starred_url":"https://api.github.com/users/ulrikaugustsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulrikaugustsson/subscriptions","organizations_url":"https://api.github.com/users/ulrikaugustsson/orgs","repos_url":"https://api.github.com/users/ulrikaugustsson/repos","events_url":"https://api.github.com/users/ulrikaugustsson/events{/privacy}","received_events_url":"https://api.github.com/users/ulrikaugustsson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hapijs/discuss/labels/question","name":"question","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-05T12:58:00Z","updated_at":"2015-01-05T12:58:00Z","closed_at":null,"body":"Is there any way to validate the payload before proxying it to another API?\r\nOr is it better to just proxy the request and let it get validated in our Java API?"}}