Nevermind, I figured out a way to do the API request without HTTPS.
I simply run PHP script to free webserver (like 000webhost.com) that supports HTTPS . The scipt sends HTTPS GET API request and returns the CO2 value which in turn I can read with HTTP (no "S") GET request on esp32 HTTPClient.h
Search found 2 matches
- Sun Oct 01, 2017 2:26 pm
- Forum: General Discussion
- Topic: How to send an API query to Netatmo
- Replies: 1
- Views: 4515
- Thu Sep 28, 2017 2:53 pm
- Forum: General Discussion
- Topic: How to send an API query to Netatmo
- Replies: 1
- Views: 4515
How to send an API query to Netatmo
Hi...I'm trying to create a system with esp32 that controls home central air ventilation based on CO2 value from Netatmo. I need to send is a API quesry to https://api.netatmo.com/api/getstationsdata? I have tested this on my laptop with CUTL, and it works >curl -X GET https://api.netatmo.com/api/ge...