[FREE] ApiUtils Extension | Multipart/form-data Integration and File Uploads 🚀

🧩 ApiUtils

Hello App Creators!

I’m thrilled to introduce ApiUtils, a powerful extension that enables seamless API interactions. Whether you’re sending form data, uploading files, or handling custom headers, this extension simplifies HTTP requests with ease.

Key Features:
:heavy_check_mark: Send multipart/form-data requests with form data and file uploads
:heavy_check_mark: Event-driven response handling with detailed response code and content
:heavy_check_mark: Supports dynamic form fields and optional file inclusion

Perfect for integrating seamless API communication and file uploads in your app with minimal effort! :rocket:

:memo: Specifications


:package: Package: com.syntex.apiutils
:floppy_disk: Size: 9.49 KB
:gear: Version: 1.1
:date: Updated On: 2025-03-07T18:00:00Z

Event:

ApiUtils has total 1 event.

:yellow_heart: ResponseReceived

Triggered when a response is received. Returns response code, content, and URL.

event

Parameter Type
responseCode number
responseContent text
url text

Methods:

ApiUtils has total 2 methods.

:purple_heart: SendFormRequest

Sends a multipart/form-data request with form fields and an optional file.

b1

Parameter Type
url text
formData dictionary
filePath text
headers dictionary

:purple_heart: SendFileRequest

Uploads a file using multipart/form-data encoding.

b2

Parameter Type
url text
filePath text
headers dictionary

Example:
we can post form like :
ex

:link: Download the extension:

com.syntex.apiutils.aix (9.5 KB)

Thank you so much

Mahir Labib

Don’t Quit

5 Likes