Alternative to Webhooks and Particle cloud

I am trying to send data from Photon to my server. I know I can use webhooks to issue a POST request to my server. But what if I don’t want to use webhooks and/or Particle cloud as a middle man? Can someone suggest an alternative workaround this?

@ishitadg, is HTTPS necessary or can you use HTTP only?

Hi. What if I don’t want to use webhooks and the Particle cloud, instead sent an HTTP POST request containing data received by my photon directly to my server? Could you or anyone suggest an alternative work around this? Can I use simple socket communication for the same over the HTTP port?

Sure you can do that. Use the HttpClient library to make a direct connection to your web server.

2 Likes

At this moment, either should be fine.