special caracter incurve script creation - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: special caracter incurve script creation (/showthread.php?tid=3728) |
special caracter incurve script creation - domotiqa - 03.12.2021 Hi, I have a script to create the curve easily. It work perfect/ My problem is about password, if my customer use special caracter like @ it doesn't work. I tried to replace with %40 ... ASCII/UNICODE... @ %40 @ Alt 64 example: password= xxxXxxx%40yyyYyy without sucess. Any help apreciated Code: ---------------------------- RE: special caracter incurve script creation - admin - 03.12.2021 With 2021 firmware you can do it like this. Passing body as a table will automatically encode it as needed and will set request method to POST. Code: res, err = socket.http.request({ RE: special caracter incurve script creation - domotiqa - 03.12.2021 (03.12.2021, 16:09)admin Wrote: With 2021 firmware you can do it like this. Passing body as a table will automatically encode it as needed and will set request method to POST. thanks. work on HL and SL ? RE: special caracter incurve script creation - admin - 03.12.2021 With latest firmware it should work RE: special caracter incurve script creation - domotiqa - 15.02.2023 (03.12.2021, 16:16)admin Wrote: With latest firmware it should work is there new limitation with SL/HL latest firmware? https? I v got error now * arg: 1 * string: <html> <head><title>301 Moved Permanently</title></head> <body bgcolor="white"> <center><h1>301 Moved Permanently</h1></center> </body> </html> * arg: 2 * number: 301 ------- EDIT I needed to put: url = 'https://127.0.0.1/scada-main/trends/save' now works |