NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: jlavera on May 23, 2026, 05:21:58 PM
-
Hi, all.
We have some API Rest servers where the speed had become critical, so if we can reduce the traffic it would be great. We used to upload/download (POST, GET) files using base64 encoding inside json packages. It works great, but it adds 30% to 40% of overhead.
We replaced all the POST with Multipart/form-data, the API rest server recognizes it perfectly, and we receive those files way faster than before.
However, I don't find the way to do the same for GET operations; for what I see, the methods force to use either json or xml (the "default return format" is mandatory and either json or xml).
Is there a way to transmit a Multipart/form-data response? Or any other way to transmit binaries, for example BSON or even CBOR?
Cheers,
Jorge Lavera