# HTTP buffer length

**URL:** https://discourse.nodered.org/t/http-buffer-length/35235
**Category:** General
**Created:** [2 November 2020 19:18 UTC](https://discourse.nodered.org/t/http-buffer-length/35235 "2020-11-02T19:18:24Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Martin](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@Martin](https://discourse.nodered.org/u/Martin)
#### Post date: [2 November 2020 19:18 UTC](https://discourse.nodered.org/t/http-buffer-length/35235/1 "2020-11-02T19:18:24Z")

</div>

hello there.  
For purpouse of retirieve information from a web page i'been using "http request node" but, it can only give a maximum of 5700 characters, wich is more less than what is needed to get the specified data.

![Captura](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/2/c21267a7a5dd96f8ad95da8889c407ea6f1be70b.png)

I've tried to modify the settings.js but it wasnt successfull, it does modify buffer's data in debug space. Does anyone has experince some need like mine?, i'd like to increase the buffer length way more than 5700. Thanks for reading and any advice!. Regards!!

```auto
[{"id":"879b872b.68ec38","type":"inject","z":"1d10fa22.32b416","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":1390,"y":4760,"wires":[["94a468af.1286c8"]]},{"id":"94a468af.1286c8","type":"http request","z":"1d10fa22.32b416","name":"","method":"GET","ret":"txt","paytoqs":"ignore","url":"alloy.geocom.cl","tls":"","persist":false,"proxy":"","authType":"","x":1550,"y":4760,"wires":[["69db9d72.bd3134"]]},{"id":"69db9d72.bd3134","type":"debug","z":"1d10fa22.32b416","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1750,"y":4760,"wires":[]}]

```

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [2 November 2020 19:45 UTC](https://discourse.nodered.org/t/http-buffer-length/35235/2 "2020-11-02T19:45:44Z")

</div>

I suspect you are attempting to access the values on the page?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/4/74f7128d7733aee5fc3db79f5cfbcb8d1142790d.png)

The request is recieving 5700 characters because that is exactly the size of the HTML

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/4/a448e7298d4c0fc7294c3bd12feef8cb2faea783.png)

HOWEVER - the html for `http://alloy.geocom.cl/` does NOT contain any of the data - the data on that page is populated via a SCRIPT and the data actually comes from `http://alloy.geocom.cl/xml/dynamic/merge.xml?svTrack=&dataLogger=&ioConfig=&power=&conn_status=`

e.g...

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/f/af4f32d564d2060e833dcc901a53e0a4be1b3720.png)

so if you instead access that URL and convert from XML to JS object, you can access all the values (and there are lots - happy hunting)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/5/a56ab6336f2149c6ec58d1f8a56a0e1731830f3f.png)

Demo flow...

```auto
[{"id":"879b872b.68ec38","type":"inject","z":"1062d7f9.08a808","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":700,"y":80,"wires":[["94a468af.1286c8"]]},{"id":"69db9d72.bd3134","type":"debug","z":"1062d7f9.08a808","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1050,"y":140,"wires":[]},{"id":"94a468af.1286c8","type":"http request","z":"1062d7f9.08a808","name":"","method":"GET","ret":"txt","paytoqs":"ignore","url":"http://alloy.geocom.cl/xml/dynamic/merge.xml?svTrack=&dataLogger=&ioConfig=&power=&conn_status=","tls":"","persist":false,"proxy":"","authType":"","x":860,"y":80,"wires":[["a64020e7.94b56","550c6da9.4faa44"]]},{"id":"a64020e7.94b56","type":"xml","z":"1062d7f9.08a808","name":"","property":"payload","attr":"","chr":"","x":890,"y":140,"wires":[["69db9d72.bd3134"]]},{"id":"550c6da9.4faa44","type":"debug","z":"1062d7f9.08a808","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1050,"y":80,"wires":[]}]

```

---

<div class="post-metadata">

### Author: ![Martin](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@Martin](https://discourse.nodered.org/u/Martin)
#### Post date: [2 November 2020 20:10 UTC](https://discourse.nodered.org/t/http-buffer-length/35235/3 "2020-11-02T20:10:39Z")

</div>

Ohhh... That's exaclty what i needed, but i dont knew how to get it. Thanks so much Steve-Mci 😄 !!!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [16 November 2020 20:10 UTC](https://discourse.nodered.org/t/http-buffer-length/35235/4 "2020-11-16T20:10:50Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
