hello
i have a problem with http post/get methods with Sim800L module
i enabled httpNodeAuth to protect http connection with a user/pass
i tested post/get methods with Postman and i get 200/Ok response
but with sim800l i have problem . as you know when you enable httpNodeAuth you should send your request with this format :
http://user:password@YourIPAddress:1880/path
but it seems with this format sim800L cant make http connection
Note: When i disable httpNodeAuth i have any problem with Sim800L http connection to Node-Red server!
[{"id":"5c4aaebd.ff988","type":"http in","z":"ffaa6423.6a8358","name":"","url":"/path","method":"post","upload":false,"swaggerDoc":"","x":220,"y":220,"wires":[["bdc5cf69.4631","1594911d.ef278f"]]},{"id":"bdc5cf69.4631","type":"debug","z":"ffaa6423.6a8358","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":430,"y":240,"wires":[]},{"id":"1594911d.ef278f","type":"http response","z":"ffaa6423.6a8358","name":"response","statusCode":"","headers":{},"x":450,"y":360,"wires":[]}]
T+SAPBR=3,1,"APN","mtnirancell"
OK
AT+SAPBR=2,1
+SAPBR: 1,1,"10.40.56.105"
OK
AT+HTTPINIT
OK
AT+HTTPPARA="CID",1
OK
AT+HTTPPARA="URL","http://user:password@MyIpAddress:1880/path"
OK
AT+HTTPPARA="CONTENT","application/x-www-form-urlencoded"
OK
AT+HTTPDATA=15,10000
DOWNLOAD
data1=0&data2=0
OK
AT+HTTPACTION=1
OK
+HTTPACTION: 1,603,0
and sometimes i get +HTTPACTION: 1,601,0 error