Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support https urls #8

Open
fvant opened this issue Feb 19, 2018 · 1 comment
Open

Support https urls #8

fvant opened this issue Feb 19, 2018 · 1 comment

Comments

@fvant
Copy link

fvant commented Feb 19, 2018

What would it take to support https urls ?

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

@mafredri
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants