Simple http post/get code

I buy my first Photons today,
can somebody help me, how to communicate directly with my website?
I need send (post) string to my site, and get string result.

I need most simple code to post and get string to/from my website.

Thanks so much for help.

I’d highly suggest checking out the tutorial category here on the forums since that contains various topics with awesome tutorials that should do exactly what you’re asking for. It’s a great place to start!


Hi Moors, can’t find what I’m searching for at tutorials, but thanks for reply.


What about the docs for TCPClient/TCPServer and the HTTPClient lib to start with?

Hmm, this one can get and set variables on your device, so what exactly are you missing?

Hi ScruffR, thanks, that’s a Great source, I try it.