HTTPS client is here for the Photon! - by the glowfi.sh Team

As the IOT grows a solidly performing HTTPS library will be incredibly useful for Particle IO devices.

I am trying to send data from a temperature probe to a Splunk HTTP Event Collector.
http://dev.splunk.com/view/event-collector/SP-CAAAE6P

So I can send successfully via http and this works perfectly.
http://pastebin.com/HTxBaBp1

However when I try using the https library nothing comes through on the other end.
http://pastebin.com/gbUvyekN

Can anyone see anything obvious in my code above?

Below is the output of the Serial Interface

I think there is definitely an issue with my content length but my C++ is more than 20 years old rusty.

Any advice would be appreciated.

1 Like