{"action":"created","issue":{"url":"https://api.github.com/repos/balderdashy/sails/issues/2653","labels_url":"https://api.github.com/repos/balderdashy/sails/issues/2653/labels{/name}","comments_url":"https://api.github.com/repos/balderdashy/sails/issues/2653/comments","events_url":"https://api.github.com/repos/balderdashy/sails/issues/2653/events","html_url":"https://github.com/balderdashy/sails/issues/2653","id":57583326,"number":2653,"title":"Setting the POST size limit in sails 0.10.5","user":{"login":"sheoak","id":6572668,"avatar_url":"https://avatars.githubusercontent.com/u/6572668?v=3","gravatar_id":"","url":"https://api.github.com/users/sheoak","html_url":"https://github.com/sheoak","followers_url":"https://api.github.com/users/sheoak/followers","following_url":"https://api.github.com/users/sheoak/following{/other_user}","gists_url":"https://api.github.com/users/sheoak/gists{/gist_id}","starred_url":"https://api.github.com/users/sheoak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheoak/subscriptions","organizations_url":"https://api.github.com/users/sheoak/orgs","repos_url":"https://api.github.com/users/sheoak/repos","events_url":"https://api.github.com/users/sheoak/events{/privacy}","received_events_url":"https://api.github.com/users/sheoak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-13T10:35:03Z","updated_at":"2015-02-16T22:14:21Z","closed_at":null,"body":"I can’t find how to configure the POST size limit in sails 0.10.5.\r\n\r\nWhen I post to a simple blueprint url like /mymodel with a lot of data, I get this, due to the default limit:\r\n\r\n    error: Unable to parse HTTP body- error occurred :: { [Error: request entity too large]\r\n    type: 'entity.too.large',\r\n    message: 'request entity too large',\r\n    statusCode: 413,\r\n    status: 413,\r\n    expected: 1647840,\r\n    length: 1647840,\r\n    limit: 1048576 }\r\n\r\nI tried configuring bodyParser in http.js but none of the methods I found seems to work. The error message just disappear and blueprint don’t see the data anymore.\r\n\r\nI’m not sure if it’s a bug or if I’m just doing it wrong. Any idea?"},"comment":{"url":"https://api.github.com/repos/balderdashy/sails/issues/comments/74580631","html_url":"https://github.com/balderdashy/sails/issues/2653#issuecomment-74580631","issue_url":"https://api.github.com/repos/balderdashy/sails/issues/2653","id":74580631,"user":{"login":"sheoak","id":6572668,"avatar_url":"https://avatars.githubusercontent.com/u/6572668?v=3","gravatar_id":"","url":"https://api.github.com/users/sheoak","html_url":"https://github.com/sheoak","followers_url":"https://api.github.com/users/sheoak/followers","following_url":"https://api.github.com/users/sheoak/following{/other_user}","gists_url":"https://api.github.com/users/sheoak/gists{/gist_id}","starred_url":"https://api.github.com/users/sheoak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheoak/subscriptions","organizations_url":"https://api.github.com/users/sheoak/orgs","repos_url":"https://api.github.com/users/sheoak/repos","events_url":"https://api.github.com/users/sheoak/events{/privacy}","received_events_url":"https://api.github.com/users/sheoak/received_events","type":"User","site_admin":false},"created_at":"2015-02-16T22:14:21Z","updated_at":"2015-02-16T22:14:21Z","body":"I tried that to (I tried again). The API returns no response and the page loads until I get a 502 error (no data received). I got no error from the API."}}