adafruit / Adafruit_CircuitPython_ESP_ATcontrol

Use the ESP AT command sent to communicate with the Interwebs
MIT License
20 stars 17 forks source link

add post_url function -- use SSL and some attempts to make parsing more reliable #9

Closed jerryneedell closed 5 years ago

jerryneedell commented 5 years ago

tried to make the at_response parsing of "\r\n" more reilable. This seems to work well with the ESP32. Not so well with the ESP8266

added a post_url function to send a POST request

for request_url and post_url -- use type SSL for https.

added example for sending POST request to adafruitIO using "webhook" for a feed. This example is for http but I tried it for both http and https and it works I have only tested it with an esp32 on either a Metro_m4_express or a particle_argon.

ladyada commented 5 years ago

closin' this cause we chatted and maybe lets do this without code duplication?