I am running my first demo project on the TTGO Call module which has an ESP32 and SIM800L populated on the same board.
I am trying to get the module to POST data to an API I have created on AWS API gateway. The API is very simple and I have tested that it works correctly using Postman and from the command line using curl.
My code is using the TinyGsm, TinyGsmClient and HttpClient Libs.
The Modem starts ok
APN connection is ok.
Connection to End point is ok.
But the POST always returns the same error.
HTTP/1.1 400 Bad Request
Date: Tue, 05 May 2020 12:25:57 GMT
400 Bad RequestThe plain HTTP request was sent to HTTPS port
- How do I manually discover which version of firmware is in the SIM800L
- How do I manually enable SSL if it is available in the SIM800L I am using?
- Any other advice you think might be useful?