SparkFun Forums 

Where electronics enthusiasts find answers.

Everything pertaining to the data.sparkfun.com service, the phant project which powers it, and user projects which talk to the service.
By ChrisBob#
#185555
The help section about data.sparkfun says that someday I will be able to use a simple TCP command to post data. When can I expect this? I have RN171 communicating with an ATMega that can reliably make TCP connections, but I am having a little trouble figuring out the exact format for a POST command. Is it really as easy as sending this to Port:80 of data.sparkfun.com?
Code: Select all
POST /input/PUBLIC_KEY HTTP/1.0
From:chris@tactitionprogramming.com
Phant-Private-Key: PRIVATE_KEY

xPos=42.0&yPos=96.3
with appropriate values for PUBLIC_KEY and PRIVATE_KEY of course.

If that is all I need in the format then it isn't a big issue, but I would rather not include a full library just to handle the post request.