mafredri/openbttn

Support https urls

fvant opened this issue · 1 comments

fvant commented

What would it take to support https urls ?

Not that I would sent sensitive data but services like IFTT only have https endpoints

You could try modifying the code to use AT+S.HTTPREQ=domain,443,header_size instead of AT+S.HTTPGET=url. Not sure if the SPWF01SA firmware will support HTTPS though.

Keep in mind, you will need to create the HTTP headers manually, and include the size in the AT command.

See Chapter 2.27: AT+S.HTTPREQ: custom HTTP request for more info.