HTTP headers length | Telit Cinterion IoT Developer Community
April 13, 2017 - 3:44pm, 1452 views
I am trying to send a HTTP POST request on a EHS8 module.
The total lenght of the headers I need to send is about 350 characters (most of it being authentication data).
I try to put these headers in the hcProp parameter of the AT^SISS command. My problem is that the length of this parameter is limited to 255 characters.
Do you know another way that I could use to send the headers to the server?
Indeed there is a limit.
If you are using the simple http authentication you might use AT commands to set user and password.
I'm afraid that the other way is using the own http implementation on top of the socket connection.
It seems that Java doesn't have this limitation. I'll use it instead of using only AT commands.