Hello All,
I am trying to Post Data using HTTP on ThingsBoard. I am using M66 to Post the JSON Data but cannot do so, so I tried using Node-Red to Post Data using HTTP on ThingsBoard to verify the HTTP POST API and it works.
The AT Command Sequence used by me is as follows:
[TX] - AT+CMEE=2
[RX] - AT+CMEE=2
OK
[TX] - AT+QIFGCNT=0
[RX] - AT+QIFGCNT=0
OK
[TX] - AT+QICSGP=1,“CMNET”
[RX] - AT+QICSGP=1,“CMNET”
OK
[TX] - AT+QIREGAPP
[RX] - AT+QIREGAPP
OK
[TX] - AT+QIACT
[RX] - AT+QIACT
OK
05 [TX] - AT+QHTTPURL=64,60
[RX] - AT+QHTTPURL=64,60
CONNECT
[TX] - http://demo.thingsboard.io/api/v1/1pc2dG9J4jB84tYm0d71/telemetry
[RX] -
OK
- AT+QHTTPPOST=32,50,10
[RX] - AT+QHTTPPOST=32,50,10
CONNECT
[TX] - {“temperature”:42,“humidity”:73}
[RX] -
+CME ERROR: http response fail
[TX] - AT+QIDEACT
[RX] - AT+QIDEACT
DEACT OK
Any help regarding this is appreciated.
Regards,
Akash Rao