Can't Upload file through the API File Upload Action extension

@sid I’ve successfully set up the extension and it’s showing up in wappler server connect.

Except when I try to submit a file through the Server Connect to the API URL nothing is showing up.
Shouldn’t the “Input Data” fields show up in the body of the request?

Result from the API Request
image
Wappler Extension Properties

Set the link to an API test service like beeceptor.com, and see what the request looks like there.

@sid It still shows as empty even with beeceptor.com

My file storage is handled by Appwrite, and the way you can upload a file to Appwrite is by including the bucketId in the url and the file is uploaded via the body of the api post request.

The result of the upload shows:
image

I believe it has something to do with the File Details > Files Grid but I'm not sure.

Overall the question is: How would I get a file to be uploaded through the body request of the API?

The extension cannot upload the file directly from the $_POST request data.
You will need to create another step for uploading the file from $_POST.file to your server, and then supply the uploaded file path to the extension where you have configured $_POST.file.
Also, file can be specified only in the file details section, and not in the input data section.

I can check if there is a possibility to upload file directly from $_POST.file binding, but can't promise when.