Gemalto is now part of the Thales Group, find out more.

You are here

Get & Post via http | Thales IoT Developer Community

Sharon

February 10, 2018 - 11:31am, 1550 views

Hai. Newbie here. I currently working on how to get and post via http. However, it doesn't work. I'm using io.adafruit as the address. When i post, i received this

at^sisw=0,4,1 OK ^SISW: 0,2 ^SIS: 0,0,2200,"HTTP POST: https://io.adafruit.com/api/v2/camellia/feeds/testpost" ^SIS: 0,0,8002,"HttpHTTP POST: IllegalArgumentException Socket-Error:14"

when i used get,

^SIS: 0,0,14,"An established connection was aborted, possibly due to a data transmission time-out or protocol error"

Do i misunderstood the concept? I expected to post with at command, but get the error. Where should i type or insert the data? Do i need an extra plattform to work with it? While, for the get, i couldn't figure out why the connection is aborted. I'm using the same link also.