Thursday, 28 April 2016

[HCII] Thingspeak & get command error, the not-so-detail details.

Alright, i will talk about the localhost one first. First of all, the decision of using localhost as the server was triggered by our desperation with the way thingspeak server did its job. We thought that the server was really busy so that our request can't be processed. Once we decided to use localhost, Harits decided to tinker a bit using it, and he finally found the way to actually make it work. Using a slightly different syntax of GET HTTP command, he achieved the result as told in the previous post. Here is the syntax:


The actual source code could be viewed here.

And then, the thingspeak one. Since Harits found that the syntax was slightly different, he decided to tweak it a little to use it to connect to the thingspeak. The result could be viewed in the previous post. Anyway, here is the picture about the changes in the source code:

before:

after:



an obvious error lol. The syntax was wrong. I guess we got the wrong reference of source code on the first pircture lol. Sorry for our incompetence.

No comments:

Post a Comment