BG95 - SSL with QHTTPPOST

Hey All

Was hoping to get clarification on a simple point:

When attempting an POST Request via the BG95, when I send the actual QHTTPPOST command I get just a message “ERROR” (not CME) in return –

I’ve proven this almost exact exchange with our HTTPS server doing a GET request, but thought perhaps the BG95 assumes a certificate is need for a POST? (which should be disabled with that “seclevel”,1,0 but i wasn’t sure if that was a requirement for POST)

AT+CCLK?
+CCLK: "21/09/16,02:13:58-24"

AT+QHTTPCFG="contextid",1
OK

AT+QHTTPCFG="requestheader",1
OK

AT+QHTTPCFG="responseheader",1
OK

AT+QIACT?
+QIACT: 1,1,1,"100.127.253.223"

AT+QIDEACT=1
OK

AT+QICSGP=1,1,"ourapn.dev","","",1
OK

AT+QIACT=1
OK

AT+QIACT?
+QIACT: 1,1,1,"100.127.253.223"

AT+QHTTPCFG="sslctxid",1

AT+QSSLCFG="sslversion",1,3

AT+QSSLCFG="ciphersuite",1,0xC02F

AT+QSSLCFG="seclevel",1,0

AT+QHTTPURL=31,80
CONNECT

https://www.ourexampleurl.com
OK

AT+QHTTPPOST=1222,60,60
ERROR

Thank You

Resolved:

The URL string needed to have it’s URL suffix i.e. https://www.ourexampleurl.com/sendPOSThere

I found this to be counter intuitive as it was not need for the GET request, and everything could just be set in the header

Great !

I attached one example for Http post without certicates.

for your reference

https://cnquectel-my.sharepoint.com/:f:/g/personal/america-fae_quectel_com/Eh4BDiDQ5ihDmOyxvp8jJkkB2fOkXeo48vK0gGtiRwnCrw?e=Fssm8N