Skip to main content
Visitor II
April 12, 2022
Question

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

  • April 12, 2022
  • 1 reply
  • 1128 views

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

    This topic has been closed for replies.

    1 reply

    Visitor II
    May 6, 2022

    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