{"action":"created","issue":{"url":"https://api.github.com/repos/balderdashy/sails/issues/2689","labels_url":"https://api.github.com/repos/balderdashy/sails/issues/2689/labels{/name}","comments_url":"https://api.github.com/repos/balderdashy/sails/issues/2689/comments","events_url":"https://api.github.com/repos/balderdashy/sails/issues/2689/events","html_url":"https://github.com/balderdashy/sails/issues/2689","id":58760260,"number":2689,"title":"res.body ignore empty value","user":{"login":"martingg88","id":7898120,"avatar_url":"https://avatars.githubusercontent.com/u/7898120?v=3","gravatar_id":"","url":"https://api.github.com/users/martingg88","html_url":"https://github.com/martingg88","followers_url":"https://api.github.com/users/martingg88/followers","following_url":"https://api.github.com/users/martingg88/following{/other_user}","gists_url":"https://api.github.com/users/martingg88/gists{/gist_id}","starred_url":"https://api.github.com/users/martingg88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martingg88/subscriptions","organizations_url":"https://api.github.com/users/martingg88/orgs","repos_url":"https://api.github.com/users/martingg88/repos","events_url":"https://api.github.com/users/martingg88/events{/privacy}","received_events_url":"https://api.github.com/users/martingg88/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-24T16:08:14Z","updated_at":"2015-02-27T08:23:44Z","closed_at":null,"body":"how to make res.body include the empty value as well?"},"comment":{"url":"https://api.github.com/repos/balderdashy/sails/issues/comments/76354866","html_url":"https://github.com/balderdashy/sails/issues/2689#issuecomment-76354866","issue_url":"https://api.github.com/repos/balderdashy/sails/issues/2689","id":76354866,"user":{"login":"martingg88","id":7898120,"avatar_url":"https://avatars.githubusercontent.com/u/7898120?v=3","gravatar_id":"","url":"https://api.github.com/users/martingg88","html_url":"https://github.com/martingg88","followers_url":"https://api.github.com/users/martingg88/followers","following_url":"https://api.github.com/users/martingg88/following{/other_user}","gists_url":"https://api.github.com/users/martingg88/gists{/gist_id}","starred_url":"https://api.github.com/users/martingg88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martingg88/subscriptions","organizations_url":"https://api.github.com/users/martingg88/orgs","repos_url":"https://api.github.com/users/martingg88/repos","events_url":"https://api.github.com/users/martingg88/events{/privacy}","received_events_url":"https://api.github.com/users/martingg88/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T08:23:44Z","updated_at":"2015-02-27T08:23:44Z","body":"i mean res.body will ignore the empty field value when you submit the form.\r\n\r\nhere is the example.\r\n\r\nform\r\n---------------------------------\r\nusername : 'ck'\r\nage : ''\r\n\r\nfinally, we will only have \"username\" in req.body as empty field value (etc: age) will be ignored. \r\n"}}