Please note: Friday June 18 is a holiday celebrating Juneteenth, please allow extra time for your order to arrive and plan accordingly.
0

How to post data to adafruit IO using micropython and SIM 80
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

How to post data to adafruit IO using micropython and SIM 80

by tylersuard on Wed Apr 14, 2021 7:26 pm

Hello. I am having a hard time with formatting the exact request to send to Adafruit IO using micropython on the ESP32 with SIM800L.

Can anybody give me some advice? I can send the body but not the headers, and I keep getting a 400 response.
There are lots of Arduino libraries available but I would like to use micropython.
Also I understand the concept of AT commands, I just can't figure out how to set the header for a request.

Thank you!

tylersuard
 
Posts: 18
Joined: Sun Jun 03, 2018 2:45 pm

Please be positive and constructive with your questions and comments.


cron