{"action":"created","issue":{"url":"https://api.github.com/repos/hapijs/hapi/issues/3022","repository_url":"https://api.github.com/repos/hapijs/hapi","labels_url":"https://api.github.com/repos/hapijs/hapi/issues/3022/labels{/name}","comments_url":"https://api.github.com/repos/hapijs/hapi/issues/3022/comments","events_url":"https://api.github.com/repos/hapijs/hapi/issues/3022/events","html_url":"https://github.com/hapijs/hapi/issues/3022","id":127254932,"number":3022,"title":"Server.inject sets payload to null","user":{"login":"Bondza","id":1886115,"avatar_url":"https://avatars.githubusercontent.com/u/1886115?v=3","gravatar_id":"","url":"https://api.github.com/users/Bondza","html_url":"https://github.com/Bondza","followers_url":"https://api.github.com/users/Bondza/followers","following_url":"https://api.github.com/users/Bondza/following{/other_user}","gists_url":"https://api.github.com/users/Bondza/gists{/gist_id}","starred_url":"https://api.github.com/users/Bondza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bondza/subscriptions","organizations_url":"https://api.github.com/users/Bondza/orgs","repos_url":"https://api.github.com/users/Bondza/repos","events_url":"https://api.github.com/users/Bondza/events{/privacy}","received_events_url":"https://api.github.com/users/Bondza/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hapijs/hapi/labels/non-issue","name":"non-issue","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-01-18T15:54:26Z","updated_at":"2016-02-03T10:10:56Z","closed_at":"2016-01-18T19:23:53Z","body":"Hey,\r\n\r\nI am trying to use `Server.inject` to forward requests from one end point to others depending on data in the request. No matter what I assign payload option to `inject`, the next handler function receives the payload `null`. [Here](http://pastebin.com/yLnjdMW1) is a small example to reproduce this. I am running node 5.4.1 with Hapi 12.1.0.\r\n\r\nI think the issue is that when the dispatch function [creates the request object](https://github.com/hapijs/hapi/blob/master/lib/connection.js#L229), it simply [sets the payload](https://github.com/hapijs/hapi/blob/master/lib/request.js#L129) property to `null`.\r\n\r\nWould changing [request.js#L129](https://github.com/hapijs/hapi/blob/master/lib/request.js#L129) to: `this.payload = options.payload || null;` fix this?"},"comment":{"url":"https://api.github.com/repos/hapijs/hapi/issues/comments/179143496","html_url":"https://github.com/hapijs/hapi/issues/3022#issuecomment-179143496","issue_url":"https://api.github.com/repos/hapijs/hapi/issues/3022","id":179143496,"user":{"login":"leobudima","id":562980,"avatar_url":"https://avatars.githubusercontent.com/u/562980?v=3","gravatar_id":"","url":"https://api.github.com/users/leobudima","html_url":"https://github.com/leobudima","followers_url":"https://api.github.com/users/leobudima/followers","following_url":"https://api.github.com/users/leobudima/following{/other_user}","gists_url":"https://api.github.com/users/leobudima/gists{/gist_id}","starred_url":"https://api.github.com/users/leobudima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leobudima/subscriptions","organizations_url":"https://api.github.com/users/leobudima/orgs","repos_url":"https://api.github.com/users/leobudima/repos","events_url":"https://api.github.com/users/leobudima/events{/privacy}","received_events_url":"https://api.github.com/users/leobudima/received_events","type":"User","site_admin":false},"created_at":"2016-02-03T10:10:56Z","updated_at":"2016-02-03T10:10:56Z","body":"Well, I'm guessing that it being injected from the plugin as a GET request is the same, in terms of parsing payload, as if it came in that form originally? \r\n\r\nThank you for your time to consider my questions!"}}