diff --git a/src/fetchers/body.ts b/src/fetchers/body.ts index 2d9d219..c859a2a 100644 --- a/src/fetchers/body.ts +++ b/src/fetchers/body.ts @@ -12,7 +12,9 @@ export function serializeBody(body: FetcherOptions['body']): SeralizedBody { if (body === undefined || typeof body === 'string' || body instanceof URLSearchParams || body instanceof FormData) { if (body instanceof URLSearchParams && isReactNative()) { return { - headers: {}, + headers: { + 'Content-Type': 'application/x-www-form-urlencoded', + }, body: body.toString(), }; }