Hello,
Can someone help me replicate this cURL in MIT App Inventor??
curl --location 'https://hughesenterprise.workfinity.com.br/api/serviceOrders/code/287677/attachments '
--header 'Content-Type: application/json'
--header 'Accept: application/json'
--header 'Authorization: ••••••'
--form 'file=@"/C:/Users/gdavanco/Downloads/cn.kevinkun.HttpUtil.aix"'
I tried 3 different methods, and unfortunatelly I couldn't find a solution.
Set Web1.Url to "https://hughesenterprise.workfinity.com.br/api/serviceOrders/code/287677/attachments"
Set Web1.RequestHeaders to make a list
"Accept: application/json"
"Authorization: Bearer your_token_here"
Call Web1.PostFile FilePicker1.File
Try this
Taifun
January 17, 2026, 12:24am
3
A quick search in the community will provide this solution
You can convert cURL command to AppInventor blocks hassle free
Convert curl to blocks by Getaix
Preiview
[image]
How to?
Copy & Paste curl text into the textbox
Hover over generated blocks and click download image
Drag and drop downloaded image to AppInventor workspace
Report bug if found
cURL to blocks by Getaix is inspired from CurlToBlocks by @HritikR .
CurlToBlocks by Getaix is still in beta and would like to know your reviews.
Update 2024-08-11T18:30:00Z (UTC)
Thank you
Jerin Ja…
Taifun