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

You are here

Need a ***** world Http post BGS2 | Telit Cinterion IoT Developer Community

March 22, 2017 - 6:19pm, 2122 views

I'm trying to do a simple post:

server side script is simple:

<?php

print_r($_POST)

?>

This works well will curl post requests. 

Now I want to post "foo=bar" from a BGS2, here is my script

at^sics=0,contype,none

at^sics=0,contype,gprs0

at^sics=0,alphabet,0

at^siss=0,srvtype,http

at^siss=0,conid,0

at^siss=0,alphabet,0

at^siss=0,hcmethod,1

at^siss=0,hccontlen,7

at^siss=0,address, http://placeholder.com/script.php

at^siso=0

at^sisw=0,7

foo=bar // this is where I gather information should be sent

at^sisr=0,100

*response*^SISR: 0,10

Array

(

)

OK

*** 

Could anyone point out my issue here? I'm sure it is trivial, but I this has two of us stumped...