Skip to main content
Anon767
Associate II
October 19, 2019
Solved

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

  • October 19, 2019
  • 3 replies
  • 1140 views

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

This topic has been closed for replies.
Best answer by Sir1

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

3 replies

Sir1
Associate II
October 22, 2019

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

Sir1
Sir1Best answer
Associate II
October 22, 2019

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

Anon767
Anon767Author
Associate II
October 22, 2019

Thank you very much!

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