Reputation: 363
I've been working with a SIM808 and sending HTTP GET requests using the following AT commands:
"AT+HTTPPARA=\"CID\", 1\r\n"
"AT+HTTPINIT\r\n"
"AT+HTTPPARA=\"URL\",\"http://www.example.com/\"\r\n"
"AT+HTTPACTION=0\r\n"
"AT+HTTPREAD\r\n"
and it works fine . But when I replace the URL with https
, I only receive "OK"
My question is if there is a way to use AT commands for HTTPS
request methods (using SSL).
Upvotes: 5
Views: 7136
Reputation: 363
The answer is to execute AT+HTTPSSL=1
after setting the URL. Hope this helps someone
Upvotes: 7