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

How to establish a connection to a HTTPS endpoint and make POST and GET requests. #225

Closed
cryarchy opened this issue Sep 18, 2018 · 4 comments · May be fixed by #295
Closed

How to establish a connection to a HTTPS endpoint and make POST and GET requests. #225

cryarchy opened this issue Sep 18, 2018 · 4 comments · May be fixed by #295

Comments

@cryarchy
Copy link

cryarchy commented Sep 18, 2018

SDK version = V2.112

Kindly provide me with sample code that sends and/or gets data from an HTTPS endpoint. I have tried to get the SSL example working to no avail. I would have made this request in the a9g forum but I am avoiding the Chinese.

@Xoffio
Copy link

Xoffio commented Jan 21, 2019

Hi @cryarchy I wrote this code that does exactly what you need.

@cryarchy
Copy link
Author

@RicX8 Thank you so much. I had stalled on a project and I can now proceed.

@Abibor
Copy link

Abibor commented May 7, 2023

@Xoffio Hello, can you help me to make ssl post request to firebase? I successfully make GET request but my post request is fail - "ssl read fail: -6".

@Xoffio
Copy link

Xoffio commented May 7, 2023

Hey @Abibor, its being a while since the last time I used this chip and its hard to tell what your problem is but make sure you changed the ssl certificate, the flags and the ssl variables to match with the website you are trying to access.. Go through the entire code and look for my notes. I wrote what you needed to modify

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

Successfully merging a pull request may close this issue.

3 participants