You just need the file name and not the full path.Something like
@file.png
What users need to learn and to understand how an API and the APIs they want to consume work, not the ready blocks.
Yes
I finally use the terminal extension to use the curl command and the API. Thanks to you @Mohamed_Tamer @Rogerio_Rios!!
How did you use it?
Hey, Even I am having same requirement,
So can you please share your Block.
Thanks in Advance
One detail: I think this extension is not exclusive to CURL. Right ?
It is Linux command terminal …
Edit , right ?
Yes
Now it’s good jejeje
the web component does not support multipart/form-data
good to know, that you got it running using the extension by @juananton1991
Taifun
Why am I getting empty string?
curl -F [email protected] -F [email protected] https://srv-file6.gofile.io/uploadFile
No that’s not my email.
I tried with my email.
I changed it while posting because posting emails on the community is not allowed.
Can you give sample blocks on how to upload files?
Did You try ?
Full text is not visible in the post.
Please download and post blocks image here.
I sent you the full command before… Remember to put the path with ”, to put them with spaces. Here it is again
curl -F email=YOUREMAIL -F file=@“PATH-FILE” https://srv-file6.gofile.io/uploadFile