Page 1 of 1

posting with TCP

Posted: Fri Oct 30, 2015 12:45 pm
by ChrisBob#
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.