In my project i get data from a PLC. A friend of mine is working with me on this project. He is doing the webdev.-stuff. He said he has done his part and set up a cloud, a login etc and that he now needs the json file. He told me for this my pi must act as a websocket so he can fetch the json file from it and work further with the data to diplay them on the page. In the next step we want to control our device via the website. So i read its best to initiate the websocket directly in node red
He needs the ip and the path from where he can get the jsonfile.
I am now a bit overwhelmed hot to achive this. From my research i think the websocket node is the way to go. Maybe someone can help me to find the right direction?
Thank you very much