We use cookies to enhance your browsing experience and help us improve our websites. To improve our website, we carefully select third parties that use cookies to allow us to serve specific content and achieve the purposes set out in our cookie policy. For more information on how to make adjustments through your browser to the cookies being used on your device, please click Find Out More link. By closing this banner or continuing to browse our website, you agree to our use of such cookies. FIND OUT MORE
Hi Joze,
I’m glad to see you here.
Telit IP Easy User Guide doc has the example you need from the page 49, please read it.
Hi Cosmin
I’m glad too that is possible writing here! 🙂
Yes I read this manual but:
I have GM862 with latest firmware: 07.03.402
but I think not support: AT#SD but only AT#SKTD
or?
Wich revision of "IP Easy User Guide" must I read?
I see this in manual:
GET / HTTP/1.1<cr><lf>
Host: http://www.telit.com<cr><lf>
Connection: keep-alive<cr><lf>
<cr><lf>
I know what this mean but how is in my example?!
example: where insert header? where body?
where for example: X-ApiKey
I found something!
🙂
Now I work with csv example:
GET /v2/feeds/24118.csv HTTP/1.1
X-ApiKey: vzFbxctaEoRPR3PZEQfexcRNU7Wu4vxHBpSQjTycrs
Connection: keep-aliveHost: api.xively.com
working OK!
🙂
But if I want use PUT then I get error:
".. 411 Length Required.."
example PUT with wrong answer:
PUT /v2/feeds/24118.csv HTTP/1.1<cr><lf>
X-ApiKey: vzFbxctaEoRPR3PZEQfexcRNU7Wu4vxHBpSQjTyrcrs<cr><lf>
Connection: keep-aliveHost: api.xively.com<cr><lf>
2,,3<cr><lf>
?
A Content-Length header is required for a PUT operation, read the accepted answer here, and of course you can find a lot of info searching the web.
RSterm is supported elsewhere, on producer’s website.
1. disable flow control for online data with AT&K0
2. Finish HTTP queru with double <cr><lf> , ie:
<cr><lf> <cr><lf>
1. … yes I know
2. … how can I know!? Yes this was problem … now working! THANKS!
now go to PUT example:
what problem(s) are here?
I have working example at: “Fiddler Web Debugger”
User-Agent: microera
X-ApiKey: vzFbxctaEoRPR3PZEQfexcRNU7Wu4vxHBpSQjTyrcrs
Content-Length: 97
Content-Type: application/json
Host: api.xively.com
{
“version”: “1.0.0”,
“datastreams” : [
{“id” : “2”,
“current_value” : “0”}
]
}
totaly same example not working on GM862!
why?
FINALY work also HTTP command PUT
problem was on end of header lines! End of headers must be like on end of GET command:
rnrn instead of rn