Uploading Multiple Large Images (≈130 MB total) via REST API to FileRepository
Hi everyone,
I’m currently working on a use case in ThingWorx and would appreciate some guidance.
Use case:
-
We have a FileRepository (connected to a File Share) where we store images.
-
A customer wants to send 6 images via REST API, each around 25 MB.
-
Total payload per request would be roughly 130–150 MB.
-
After receiving the images, I need to:
-
Store them in the FileRepository
-
Save the path in a DataTable for later access
-
Challenge:
-
Sending images as Base64 in JSON would significantly increase payload size (~30% overhead).
-
The customer prefers to send all images in a single request, not one by one.
-
I’m unsure about the best approach in ThingWorx for handling such large payloads reliably (timeouts, limits, performance, etc.).
Questions:
-
What is the recommended approach for handling multiple large file uploads in ThingWorx via REST?
-
Is it better to:
-
Accept a ZIP file (Base64) and extract it server-side?
-
Use multipart/form-data (if supported properly)?
-
Or enforce multiple smaller requests (one image per call)?
-
-
Are there any size limits or best practices regarding REST payloads and FileRepository uploads?
Would really appreciate insights or examples from anyone who has handled similar large file upload scenarios.
Thanks in advance!

