Hello i am trying to get the data from static file which i can access via using http request but it stucks at anfordernd "pending" in english. Sometimes i become no response from server.
I cann access the data using the link and file name.
HTTP Request Node looks like this;
I want to know what i am doing false?
Try setting it to NOT parse the response to JSON (its HTML/string data)
PS, is the only reason you setup httpStatic
so that you can access local files inside node-red? because you could simply use a file
read node instead.
okay thanks. in which scenario should we use then httpstatic?
When you want to serve static content to other things (typically browsers)
If you just want to read files from the same file system where Node-RED exists, then use the file node.
1 Like