finds.dev← search

// the find

mgolu/HttpsClient-library

★ 3 · C · MIT · updated Jul 2020

A library for Particle devices with a simplified HTTP Client for accessing REST APIs such as Stripe payment gateway

An HTTPS client library for Particle IoT devices (Photon, Argon, etc.) that wraps a vendored mbedTLS to give you TLS-verified HTTP POST over TCP. Targets embedded C++ developers who need to hit REST endpoints like Stripe from firmware without rolling their own TLS stack.

Enforces certificate validation by default — no option to skip TLS verification, which is the right call for payment flows. Bundles a complete mbedTLS snapshot so you get a known-working crypto stack rather than fighting Particle's built-in one. The API surface is minimal: init, connect, set headers, post — hard to misuse in the common case. Supports both JSON and form-urlencoded bodies, which covers most REST API auth flows.

Abandoned since July 2020 — the bundled mbedTLS is multiple major versions behind (2.x era, pre-3.0), and that version has known CVEs that Arm has since patched. Only supports POST; GET is missing entirely, which rules out any read-heavy API use. No persistent connection support — every call tears down and re-establishes the TLS handshake, which is brutal on constrained hardware and battery. The Stripe example ships with a PCI DSS disclaimer that amounts to 'consult a security expert before using this in production,' which is probably the right advice given the stale crypto library.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →