Thanks for the pointer, originally I got the output below from
curl -v http://192.168.0.199:8080that made it obvious that the headers were causing the problem, so with a bit of trial and error I found that removing the red ones but leaving the blue one, resulted in Node-Red getting the values but I am still unsure if its correct because I still get 1 * additional stuff not fine transfer.c:1037: 0 0 see bottom result
Toshi
root@client38 ~ # curl -v
http://192.168.0.179:8080* About to connect() to 192.168.0.179 port 8080 (#0)
* Trying 192.168.0.179...
* connected
* Connected to 192.168.0.179 (192.168.0.179) port 8080 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.26.0
> Host:
192.168.0.179:8080> Accept: */*
>
* additional stuff not fine transfer.c:1037: 0 0
* additional stuff not fine transfer.c:1037: 0 0
* additional stuff not fine transfer.c:1037: 0 0
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK< Access-Control-Allow-Origin:http://192.168.0.34:8000
< Access-Control-Allow- Methods", "POST, GET
< Access-Control-Allow-Headers *AUTHORISED*
< Content-type: text/html
< Server: ESP8266-0* no chunk, no close, no size. Assume close to signal end
<
* nread <= 0, server closed connection, bailing
* Closing connection #0
28345d2c060000e5,22.8125,28a0f52b06000003,23.8750,root@client38 ~ #
* About to connect() to 192.168.0.199 port 8080 (#0)
* Trying 192.168.0.199...
* connected
* Connected to 192.168.0.199 (192.168.0.199) port 8080 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.26.0
> Accept: */*
>
* additional stuff not fine transfer.c:1037: 0 0
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
* no chunk, no close, no size. Assume close to signal end
<
* nread <= 0, server closed connection, bailing
* Closing connection #0
1,1,1,25.75