{"action":"created","issue":{"url":"https://api.github.com/repos/node-red/node-red/issues/1278","repository_url":"https://api.github.com/repos/node-red/node-red","labels_url":"https://api.github.com/repos/node-red/node-red/issues/1278/labels{/name}","comments_url":"https://api.github.com/repos/node-red/node-red/issues/1278/comments","events_url":"https://api.github.com/repos/node-red/node-red/issues/1278/events","html_url":"https://github.com/node-red/node-red/issues/1278","id":235199288,"number":1278,"title":"httpin respects apiMaxLength?","user":{"login":"vicary","id":85772,"avatar_url":"https://avatars0.githubusercontent.com/u/85772?v=4","gravatar_id":"","url":"https://api.github.com/users/vicary","html_url":"https://github.com/vicary","followers_url":"https://api.github.com/users/vicary/followers","following_url":"https://api.github.com/users/vicary/following{/other_user}","gists_url":"https://api.github.com/users/vicary/gists{/gist_id}","starred_url":"https://api.github.com/users/vicary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vicary/subscriptions","organizations_url":"https://api.github.com/users/vicary/orgs","repos_url":"https://api.github.com/users/vicary/repos","events_url":"https://api.github.com/users/vicary/events{/privacy}","received_events_url":"https://api.github.com/users/vicary/received_events","type":"User","site_admin":false},"labels":[{"id":55118895,"url":"https://api.github.com/repos/node-red/node-red/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-06-12T11:14:05Z","updated_at":"2018-03-17T10:31:47Z","closed_at":null,"author_association":"NONE","body":"According to [this link](https://developer.ibm.com/answers/questions/257954/bluemix-node-red-error-request-entity-too-large.html) and [this link](https://groups.google.com/forum/#!topic/node-red/6b4jaTcVKbE), I assume that `http in` nodes will respect configuration parameter `apiMaxLength`.\r\n\r\nBy looking at ~[21-httpin.js:23](https://github.com/node-red/node-red/blob/master/nodes/core/io/21-httpin.js#L23)~ [21-httpin.js:24](https://github.com/node-red/node-red/blob/c9317659c5049f1929c4fe60bafe3c7dffa97b02/nodes/core/io/21-httpin.js#L24) there are no `limit` parameters passing in, should it be there?"},"comment":{"url":"https://api.github.com/repos/node-red/node-red/issues/comments/373910146","html_url":"https://github.com/node-red/node-red/issues/1278#issuecomment-373910146","issue_url":"https://api.github.com/repos/node-red/node-red/issues/1278","id":373910146,"user":{"login":"knolleary","id":51083,"avatar_url":"https://avatars2.githubusercontent.com/u/51083?v=4","gravatar_id":"","url":"https://api.github.com/users/knolleary","html_url":"https://github.com/knolleary","followers_url":"https://api.github.com/users/knolleary/followers","following_url":"https://api.github.com/users/knolleary/following{/other_user}","gists_url":"https://api.github.com/users/knolleary/gists{/gist_id}","starred_url":"https://api.github.com/users/knolleary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knolleary/subscriptions","organizations_url":"https://api.github.com/users/knolleary/orgs","repos_url":"https://api.github.com/users/knolleary/repos","events_url":"https://api.github.com/users/knolleary/events{/privacy}","received_events_url":"https://api.github.com/users/knolleary/received_events","type":"User","site_admin":false},"created_at":"2018-03-17T10:31:47Z","updated_at":"2018-03-17T10:31:47Z","author_association":"OWNER","body":"There are two separate express apps here.\r\n\r\n`adminApp` is the express app that handles the admin api and is controlled by `apiMaxLength`.\r\n\r\nThe HTTP Nodes attach to a different express app here: https://github.com/node-red/node-red/blob/c9317659c5049f1929c4fe60bafe3c7dffa97b02/red/runtime/index.js#L62\r\n\r\nSo the jsonParser in 21-httpin.js should be being used and separately configured to the `adminApp` one.\r\n"}}
{"actor":{"display_login":"knolleary"}}