API File Upload (server action)

Hi,
Is there a way to carry out an API upload server side? The API I am trying to use requires there following and I am gathering Wappler doesn’t do that? PHP model.
@George @Teodor

curl --data-binary @sample-image.jpg \
     -H "Content-Type: image/jpeg" \
     -H "Authorization: Bearer key_key_etc" \
     -X POST "https://api.address.w/v1/etc/etc/"

You can check the Wappler extensions section, someone did an API File Upload extension - indeed, Wappler doesn’t natively support file upload yet, good on you for asking for it

Hi, @Apple, I am not sure about the Extensions, they are usually build for older versions of Wappler.
I checked out that extension and its build for v3.9.
So not really sure.

@George will we be seeing API for file upload soon?

It works fine in latest versions. Not much has changed in Extensibility in Wappler.

1 Like