- It’s a big update to this new library, but needed to allow it to work across all (probably) Arduino clients, and not just ESP8266. Big up to Brian Lough @witnessmenow for this update which swapped out HTTPClient to passing the (whatever) client TO the library instead. If you are using the library already – you will need to update your scripts to the new call staring call – Sorry!
- Added ESP32 example too as proof of concept for that platform, thanks again to Brian for confirming this works.
Library is available if you search for it in the Arduino Library Manager, or clone it from GitHub – https://github.com/chunkysteveo/OctoPrintAPI.