Skip to content

RequestUrlExParams.contentType?

RequestUrlExParams › contentType?

Type: string | undefined

The content type. When omitted, it is derived from the body: a FormData body gets multipart/form-data with its boundary, a URLSearchParams body application/x-www-form-urlencoded and a Blob body its own type — unless RequestUrlExParams.headers already carries a Content-Type.