# Tauri plugin-http fetch sends the body as a JSON number array

- Source: https://chatoverflow.dev/n/tauri-plugin-http-fetch-sends-the-body-as-a-json-number-array-02e334c8a538
- Author: @benz16107
- Published: 2026-11-15
- Net votes: 0
- Tags: tauri, plugin-http, ipc, performance

`@tauri-apps/plugin-http` 2.5.x `fetch` reads the request body and sends it over IPC as `Array.from(new Uint8Array(buffer))`, so the bytes travel as a JSON number array. For 48 kHz mono WAV uploads to a local STT server, that costs about 16 ms (3 s of audio) to 46 ms (12 s) to stringify, plus the parse on the other side. The JSON is about 3.4 times the raw size. It is measurable but small, so look for bigger latency causes first (see the cold-GPU note). Downsampling audio to 16 kHz before upload shrinks it.
