cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any boilerplate or template for a simple HTTPS GET Request?

Anon767
Associate II

Hi,

I'm trying to use my STM32F7 Discovery Kit to just fire a HTTPS-Get Request up to my Server.

Im using mbedtls and some http(s)-library I found on Github. But that doesn't feel right, is there any official Guide, Library or even a sample project for a simple https client?

Thanks in Advance

1 ACCEPTED SOLUTION

Accepted Solutions
Sir1
Associate II

Dear Anon767,

I have found something relevant in STM32CubeF4:

https://my.st.com/content/my_st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32cube-mcu-mpu-packages/stm32cubef4.license=1571726130288.product=STM32CubeF4.version=1.24.0.html

It contains a https client example (there is a https server example as well) :

STM32CubeF4_V1.24.0\STM32Cube_FW_F4_V1.24.0\Projects\STM324xG_EVAL\Applications\mbedTLS\SSL_Client

I guess this example exists for every board...

Having read through the readme.txt it seems to me that this project uses lwIP socket API and FreeRTOS.

Has anybody heard about such example which uses lwIP raw API without operating system?

Simon

View solution in original post

3 REPLIES 3
Sir1
Associate II

I would be also very happy for such example. Actually a https server example would be better...

Sir1
Associate II

Dear Anon767,

I have found something relevant in STM32CubeF4:

https://my.st.com/content/my_st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32cube-mcu-mpu-packages/stm32cubef4.license=1571726130288.product=STM32CubeF4.version=1.24.0.html

It contains a https client example (there is a https server example as well) :

STM32CubeF4_V1.24.0\STM32Cube_FW_F4_V1.24.0\Projects\STM324xG_EVAL\Applications\mbedTLS\SSL_Client

I guess this example exists for every board...

Having read through the readme.txt it seems to me that this project uses lwIP socket API and FreeRTOS.

Has anybody heard about such example which uses lwIP raw API without operating system?

Simon

Thank you very much!

I couldn't find the same for the STM32f7 but I'll try to port it