Http post to adafruit

106 views
Skip to first unread message

Cameron Fraser

unread,
Jun 29, 2025, 9:19:50 PM6/29/25
to Automate for Android
Would someone please suggest how to format an http post block

That is equivalent to:

curl -F "value=55" -H "X-AIO-Key: aio_OJhq152eZkgP8H1mOE" https://io.adafruit.com/api/v2/cfraser/feeds/test/data

Starting point attached

Thank you

Screenshot_20250629-181636.png
Adafruit post.flo

Henrik "The Developer" Lindqvist

unread,
Jul 1, 2025, 9:39:42 AM7/1/25
to Automate for Android
Try HTTP request:
If that doesn't work then try:
  • Request URL:  https://io.adafruit.com/api/v2/cfraser/feeds/test/data
  • Request method: POST
  • Request content type= "multipart/form-data;boundary=BoUnDaRy"
  • Request body=  "--BoUnDaRy\r\nContent-Disposition:form-data;name=value\r\n\r\n55\r\n--BoUnDaRy--\r\n"
  • Request headers= "X-AIO-Key": "aio_OJhq152eZkgP8H1mOE" }


Cameron Fraser

unread,
Jul 1, 2025, 11:06:16 AM7/1/25
to Automate for Android
Success!  1st version worked, thanks very much 
Reply all
Reply to author
Forward
0 new messages