> For the complete documentation index, see [llms.txt](https://developers.gowajee.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.gowajee.ai/speech-to-text/limitations/http-multipart-form-data.md).

# HTTP Multipart/Form-Data

### HTTP Multipart/Form-Data

Currently, only the **Pulse** model supports HTTP `multipart/form-data` requests within the Gowajee Speech-to-Text (STT) API.

### Pulse Model

The **Pulse** model supports HTTP `multipart/form-data` requests, allowing you to send audio files directly in a binary format.

### **Example Request for Pulse Model**

```http
POST /v1/speech-to-text/pulse/transcribe HTTP/1.1
Host: api.gowajee.ai
X-Api-Key: ${YOUR_API_KEY}
Content-Type: multipart/form-data; boundary=---boundary

---boundary
Content-Disposition: form-data; name="audioData"; filename="audio.wav"
Content-Type: audio/wav

(binary audio data)
---boundary--
```

### Astro Model

The **Astro** model **does not** support `multipart/form-data`. Instead, use [Presigned URLs](#using-presigned-urls) or [Base64](https://en.wikipedia.org/wiki/Base64) with HTTP `application/json` requests to handle audio file uploads.

> We recommended using [Presigned URLs](#using-presigned-urls) over [Base64](https://en.wikipedia.org/wiki/Base64) to avoid HTTP 413 Payload Too Large.

### **Example Request for Astro Model**

```http
POST /v1/speech-to-text/astro/transcribe/async HTTP/1.1\
Host: api.gowajee.ai
Content-Type: application/json
X-Api-Key: ${YOUR_API_KEY}

{
  "audioData": "https://example.com/presigned_url_to_audio_file"
}
```
