openbttn icon indicating copy to clipboard operation
openbttn copied to clipboard

Support https urls

Open fvant opened this issue 7 years ago • 1 comments

What would it take to support https urls ?

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

fvant avatar Feb 19 '18 21:02 fvant

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.

mafredri avatar Feb 19 '18 22:02 mafredri