Groups
Groups
Sign in
Groups
Groups
Automate for Android
Conversations
About
Send feedback
Help
Http post to adafruit
106 views
Skip to first unread message
Cameron Fraser
unread,
Jun 29, 2025, 9:19:50 PM
6/29/25
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 AM
7/1/25
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Automate for Android
Try HTTP request:
Request URL:
https://io.adafruit.com/api/v2/cfraser/feeds/test/data
Request method: POST
Request content type: Web form
Request body=
{ "value": 55 }
Request headers=
{
"X-AIO-Key": "aio_OJhq152eZkgP8H1mOE"
}
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 AM
7/1/25
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Automate for Android
Success! 1st version worked, thanks very much
Reply all
Reply to author
Forward
0 new messages