Hi,
I am having a very simple issue.
I am trying to check upon the status of my Daikin Aircon.
When I enter the following in a Chrome web browser:
10.10.10.50/aircon/get_sensor_info
I get following response:
ret=OK,htemp=23.0,hhum=35,otemp=10.0,err=0,cmpfreq=0
I analysed the webpage and following is what happens:
General
- Request URL: http://10.10.10.50/aircon/get_sensor_info
- Request Method: GET
- Status Code: 200 OK
- Remote Address: 10.10.10.50:80
- Referrer Policy: no-referrer-when-downgrade
Response Headers
- HTTP/1.0 200 OK
- Content-Length: 52
- Content-Type: text/plain
Request Headers
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3
- Accept-Encoding: gzip, deflate
- Accept-Language: en,nl;q=0.9,nl-NL;q=0.8,en-US;q=0.7
- Cache-Control: max-age=0
- Connection: keep-alive
- Host: 10.10.10.50
- Upgrade-Insecure-Requests: 1
- User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.87 Safari/537.36
When I try the same in GET mode with NodeRed and HTTP request node I only receive an empty string:
msg.payload: string[0]
" "
when I try "the" example, simply replacing the URL with https://nodered.org I get a perfect outcome.