How to use remove.bg API in this link https://www.remove.bg/api?
What you tried… Please show…
$ curl -H 'X-API-Key: INSERT_YOUR_API_KEY_HERE' \
-F 'image_file=@/path/to/file.jpg' \
-F 'size=auto' \
-f https://api.remove.bg/v1.0/removebg -o no-bg.png
theoretically it would be possible using the web component…
however the web component does not support multipart/formdata, i.e. a mixture of binary data and text
so the web component unfortunately is not able to do it
you could try to use the Terminal / Shell Extension by @juananton1991, but I’m not sure, if this will be possible there… you might want to try it and let us know, whast you find out…
Taifun
http://kio4.com/appinventor/278_extension_shell.htm Could it be with this?
And, lots of options down the page!
yes, just try it to find it out yourself… and use the curl example code…
Taifun
Have you got solution? If yes,then write it here and marked as a solution!
It can help others KODERS also!
No. I haven’t a solution.
No, this is not working.
sent me this aia
I think these blocks will work, So Please try. If my way worked please mark it as solution.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
I just found by accident this thread…
there are at least 2 errors in your blocks
- the request headers have to be a list of lists… you currently are using only a list…
- the double quotes have to be removed
Taifun
Thank you!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.