Http with rasp pi 4

hi . is there anyone have an idea about how can i get or post http via serial node . i m connecting sim900 to pi via tx rx

i already send the msg via sms

[{"id":"c8b7034bc8dfcbf9","type":"inject","z":"6a54e01602038910","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"str","x":190,"y":180,"wires":[["ea2ef391a1dabcd1"]]},{"id":"ea2ef391a1dabcd1","type":"function","z":"6a54e01602038910","name":"function 98","func":"// Change the phone number and message to your desired values\nvar phoneNumber = \"068*****5\";\nvar message = \"This is from Node-RED msg testing\";\n\n// Format the AT command\nvar atCommand = 'AT+CMGS=\"' + phoneNumber + '\"\\r\\n';\natCommand += message + '\\x1A';\n\n// Pass the AT command to the next node\nreturn { payload: atCommand };\n","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":410,"y":180,"wires":[["b05d6dab4b07ca49"]]},{"id":"b05d6dab4b07ca49","type":"serial out","z":"6a54e01602038910","name":"","serial":"724c7d42.82437c","x":680,"y":160,"wires":[]},{"id":"2a5005a5c67b7132","type":"serial in","z":"6a54e01602038910","name":"","serial":"63d0c550186f5268","x":460,"y":220,"wires":[["0fefbb6bb9afa099"]]},{"id":"0fefbb6bb9afa099","type":"debug","z":"6a54e01602038910","name":"debug","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":890,"y":220,"wires":[]},{"id":"724c7d42.82437c","type":"serial-port","z":"6a54e01602038910","serialport":"/dev/ttyS0","serialbaud":"9600","databits":"8","parity":"none","stopbits":"1","newline":"\\n","bin":"false","out":"char","addchar":false,"responsetimeout":"10000"},{"id":"63d0c550186f5268","type":"serial-port","serialport":"/dev/ttyS0","serialbaud":"9600","databits":"8","parity":"none","stopbits":"1","waitfor":"","dtr":"none","rts":"none","cts":"none","dsr":"none","newline":"\\n","bin":"false","out":"char","addchar":"","responsetimeout":"100"}]

need idea how can i post http via serial .
and thanks

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.