BGS2 HTTP POST values are empty | Telit Cinterion IoT Developer Community
March 21, 2017 - 12:49pm, 1646 views
Hello colleagues,
I have to send data by POST to my server HTTP. My problem is that I sent successfully but values in server are empty. I tried several syntaxes in at^siss and nothing.
at^siss=0,hcContent,token: 95
at^siss=0,hcContent,token= 95
at^siss=0,hcContent,token=95
..........
any suggestion? Here you can see my set up.
at^siss=0,srvType,Http
OK
at^siss=0,conId,0
OK
at^siss=0,alphabet,1
OK
at^siss=0,hcContent,token=95
OK
at^siss=0,hcContlen,0
OK
at^siss=0,hcMethod,1
OK
at^siss=0,address,http://----------------
OK
at^siso=0
OK
^SIS: 0,0,2201,"HTTP/1.1 200 OK"
^SISW: 0,2
at^sisi?
^SISI: 0,6,0,8,0,0
OK
Thank you!!
Hello,
On the module's side it seems that the data was sent so maybe there's a problem on the server side.
Is it completely nothing that server receives?
What server are you using? Could you try with some public test server that receives POST data?
You might also try to send the data with SISW command if you suspect that it is the module's fault.
Do you have any possibility to trace on the server side?
Please check the ATI1 reply.
Regards,
Bartłomiej