Thales' cellular IoT products business is now part of Telit Cinterion, find out more.

You are here

Http request using AT command in PLS8-X model | Telit Cinterion IoT Developer Community

December 16, 2015 - 2:42pm, 5059 views

Hello,

I have PLS8-X model and AT_command docs. I have try to call SOAP web service using AT-Commands. see below my steps to generate http post request.  But something is wrong, it's say HTTP/1.1 400 Bad Request.

at^siss=3,srvtype,http
OK
at^siss=3,address,"https://www......"
OK
at^siss=3,cmd,"post"
OK
at^siss=3,hcProp,"Content-Type:text/xml\0d\0aSOAPAction:getdata"
OK
at^siss=3,hcContLen,876
OK
at^sica=1,1
OK
at^siso=3
OK

^SIS: 3,0,2200,"Http connect 144.202.209.25:443 Cmd: post"

^SISW: 3,1
at^sisw=3,876
^SISW: 3,-2,0
<past xml string request here, it's contain 876 length>
OK

^SIS: 3,0,200,"HTTP/1.1 400 Bad Request"

^SISR: 3,1
At^sisc=3
OK

^SIS: 3,0,2200,"HTTP Server Closed"

When m try to wrtite data using at^sisw=3,876 then i will get ^SISW: 3,-2,0 this it's ok,? I think here problem bucz it's need came like ^SISW: 3,876 but not understand what I missing. Please help if  I m wrong and also help me to call SOAP web service using AT-Command.