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.
Locked
User avatar
tylersuard
 
Posts: 21
Joined: Sun Jun 03, 2018 2:45 pm

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

Post by tylersuard »

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!

Locked
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.

Return to “Internet of Things: Adafruit IO and Wippersnapper”