Hi all,
I am trying to send an HTTP Post request using the AT+QHTTPPOST command. The problem is that the modem opens a connection and sends an empty body POST request before I actually input the data.
at+qhttpcfg?
+QHTTPCFG: “contextid”,1
+QHTTPCFG: “requestheader”,0
+QHTTPCFG: “responseheader”,0
+QHTTPCFG: “sslctxid”,1
+QHTTPCFG: “contenttype”,0
at+qhttpurl=38,10
CONNECT
OK
at+qhttppost=13,10,10
CONNECT <-- request being sent here immediately not waiting for data, with an empty body
{“test”:true} <-- data being sent to modem, ignored
OK
+QHTTPPOST: 0,200,15
I appreciate any feedback. Thanks