cancel
Showing results for 
Search instead for 
Did you mean: 

Sending HTTP Post message to server with B-L462E-CELL1

AdVs
Associate

Hello everyone,

I'm not the best in programming (still learning ;) ) and am new to the B-L462E-CELL1. For my current project I need to send a HTTP POST message to a server. I have been struggling to do so. First I've tried to modify an example program named "L462_TCP_Echo_client" and creating my own program from scratch. Both without luck... Now I am hoping that you, the person reading this, could help me sending a HTTP POST message.

Some more details:

General information

  • I've been able to get the eSIM and the normal SIM working
  • I need to send some extra headers along the with HTTP POST message
  • The payload will be in JSON format with a size of around 1000 characters

Some things that could really help me

  • A explanation of how te send HTTP POST messages with X-Cube-Cellular
  • Example code with comments
  • If it's easier, AT commands guide of how to send the HTTP POST messages.
  • General advice

As it stands now, I can use all the help I can get.

Greetings from the Netherlands,

Almer

1 REPLY 1
McLovin
Associate III

Hey Almer, really interested to try this as well but looks like there is no support from ST. I think you could try downloading X-Cube-Cellular v5.2 instead.

Link: X-CUBE-CELLULAR - Cellular software expansion for STM32Cube - STMicroelectronics

Inside there is a HTTP project application that shows a client connection to Grovestream.

0693W00000NpPT2QAN.png